|
Remember - this course is designed to get you started in HTML. If you wish to learn more, you will need to visit one of the excellent Internet resources dealing directly with HTML. One of my favorites is THIS one - which formed a large part of my own reading for this Introduction.
To add a background colour to your page, use the following tag <bgcolor = "#abcdef"> Any six-digit hexadecimal number will work (ie any six-digit combination of the numbers 0,1,2,3,4,5,6,7,8,9 and the letters a,b,c,d,e,f) Make up your own, and see what happens. #FFFFFF is white. #000000 is black.
To add line breaks and paragraph breaks: Space and line breaks are ignored by the browser except inside special tags. You have therefore to provide tags to indicate them. If you want a line break use <br> and if you want a paragraph break (i.e. line break and then an empty line between paragraphs) use <p> The paragraph tag has an optional closing tag </p>.
To centre text on a page: Include the following parameter in your FONT tag: ALIGN="CENTER" (NB The spalling of "center" - you must use the American spelling) |