XHTML/ CSS - External Style Sheets

If you want to change the style to multiple elements on many webpages at the same time you can use external style sheets. This will save you time as you want to make wholesale changes to your site.

What you need to do is make another page and save it as a CSS file. You can add all of the elements and how you want to style them on this sheet.

If you use this method than you don't need the style tags anymore, you only need to link to the external style sheet you created.

Like this:

<head>

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

</head>

The above will link to the external style sheet. All of the files need to be in the same folder to be able to link correctly.

https://www.youtube.com/watch?v=veKHw125UJs&index=23&list=PLC1322B5A0180C946

Comments

Popular posts from this blog

Python 3.4 - Caesar Cipher

UML - Use Case Diagram