Chapter 6 summary

Chapter 6 summary - Must have the<html> element Must...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Web Design Chapter 6 Review Standards and Compliance DocType definition: add this prior to the html tag to tell browser ;how to interpret the web page 4.01 Transitional Type <!DOCTYPE html PUBLIC “-//WC3//DTD//HTML 4.01 Transitional//EN” http://www.w3org/TR/tml4/loose.dtd ”> Use the W3C validator to check code. Character encoding tells browser what kkind of characgters are being used on the page such as English, Chinese etc. Use a META tag to specifity the content type in the header: <meta http-equiv= “Content-Type” content=”text/html; charset=ISO-8859-1”> 4.01 Strict Type <!DOCTYPE html PUBLIC “-//w3c//dtd html 4.01//EN” ”> Inline elements must be inside block elements
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Must have the <html> element Must start each page with DOCTYPE Only <head> and <body> go directly inside the <html> element. Everything else must go inside these two tags. Always have <title> inside the <head>element. The <body> can only have BLOCK ELEMENTS inside it (<h1> <p> <blockquote> etc. No block elements inside of inline elements. No block elements inside the <p> element Only <li> allowed in the <ul> or <ol> elements Inside the <li> you can up text, inline elements, or block elements Blockquote elements require one or more block elements inside it. Never next <a> inside an <a> Don’t nest inline element in empty elements <img> Alt tags for images Must close all tags <br />...
View Full Document

This note was uploaded on 04/23/2008 for the course ITD 120 taught by Professor Scott during the Fall '07 term at Virginia College.

Ask a homework question - tutors are online