Creating a style sheet file
September 5th, 2008 by datacraftusIf you want to link to a style sheet, you need to create a file that contains the style sheet. The file must be a plain text file. It is just like a regular html document. The only difference is that it has a dot css instead of dot htm or dot html. The file must contain the same style sheet rules that you would use in an embedded style sheet. To link a style sheet to a html document, you need to use the link tag.
You can also link and embed a style sheet in the same document. If you want to have a generic style sheet that applies to all of your html documents, then you would just put the link tag in. Both style sheets affect your document.
Posted in data craft |