120 likes | 225 Views
Web Pages: Creating & Maintaining. Week 5. Internet Explorer. Mozilla FireFox. Doc Type Declaration. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">.
E N D
Internet Explorer Mozilla FireFox
Doc Type Declaration <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <TITLE>My Web Page</TITLE> <BODY> This is my webpage </BODY> </HTML>
<BODY bgcolor=“#00AC25” topmargin=“25” leftmargin=“50” text=“#34A3DD”> <BODY> </BODY> Default FFFFFF <BODY bgcolor=“#RRGGBB”> <BODY bgcolor=“#FF0000”> 3 <BODY leftmargin=“p”> Bgcolor is the color of the Background 3 <BODY topmargin=“p”> “p” = Distance in Pixels….. 3 <BODY rightmargin=“p”> <BODY text=“#0000FF”> 000000 <BODY text=“#RRGGBB”>
HTML Your turn!
Title = “Body Options”…. File Name = “bodyoptions.html” Open Notepad Hello there ! All text is the Largest Heading Aligned to the left Text color is Blue Top Margin is “100” Left Margin is “150” Background color is Green