简体   繁体   中英

Using Komodo IDE 12: Do not know how to link index.html to style.css

enter image description here I am not sure how to link my HTML to the CSS. I know that I have to make sure that they are in the same folder but since this is my first project, I dont quite know my way around Komodo. Any help would be appreciated!

I have already added the following:

<link rel="stylesheet" type="text/css" href="styles.css"/>

This is what I have so far:

  • Copy the files to the same directory. Then open up Komodo.

  • Select from the menu project–>new project . Select the new project directory.

  • In Komodo on the left panel it will display the list of files.

  • You can preview the index file in browser by going to view–>browser view .

  • Select the default browser to view the file in Komodo side panel.

  • Edit the files to see what changes.

Your styles.css should be in the same folder as your html file.

I suggest you this website if you want to learn HTML and CSS: http://www.w3schools.com/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM