Monday, May 12, 2014

HTML Lessons part 18

In this lesson I will teach you how to use the <link> tag.  The link tag is an empty element just like the <img> tag.  The <link> tag is a link to a CSS stylesheet.  CSS is Cascading Style Sheets.  CSS is used instead of using the <style> tag.  The link goes in the head.  You make the link like this.

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

What you have to do is make a CSS document is code it then save is with a .CSS extension.  Then right click the CSS file.  Click open with and select a browser besides Internet Explorer.  The copy the URL of the CSS document into the place with the crossed out text in the code above.  It will add the special styling that could also go  in the style tag.  That is all for today.

No comments:

Post a Comment