Shared Flashcard Set

Details

HTML 4.01 Handbook
HTML 4.01
10
Computer Science
10th Grade
10/21/2008

Additional Computer Science Flashcards

 


 

Cards

Term
HTML
Definition
Always start each page with a DOCTYPE, but following that, the HTML element must always be on top, or root, element of your Web Page. So after DOCTYPE, the HTML tag will start the page, and the ending HTML tag will end the page.
Term
Head and Body elements
Definition
Only the HEAD and BODY elements can go directly inside your HTML element. This means that every other element must go either insid the HEAD or the BODY element.
Term
HEAD without TITLE
Definition
Always give your HEAD element a TITLE element. Failure to do so will result in HTML that isn't compliant. The HEAD element is the only place you should put your TITLE, META and, STYLE elements
Term
Fill your BODY with block elements
Definition
You can out only block elements (H1, H2..., H6, P, BLOCKQUOTE, and so on. directly into you BODY element. All inline elements and text need to be inside another block element before they can go in the BODY element.
Term
Keep block elements out of inline elements
Definition
You can only put in an inline eement is text and other inline elements. Block elements are not allowed.
Term
Keep block quotes out of you P element
Definition
Paragraphs are for text, so keep black elements out odf your paragraphs. You can only use inline elements in them. (EM, A, STRONG, Q, and so on.)
Term
Lists are for list items
Definition
Only the LI element is allowed in the UL and OL elements.
Term
You can put anything in your lists
Definition
you can out text, inline elements, or block elements iside of your list
Term
Block quotes only likes block elements
Definition
the BLOCKQUOTE element requires one or more block elements inside it. Always put the text and inline elements inside block elements before adding them to a BLOCKQUOTE.
Term
Be careful about nesting an inline element inside another inline element
Definition
While you can nest just about everything in an inline element there are a couple of cases that don't make sense. Never nest an A element inside another A element. Also, empty elements like IMG provide no way to nest other inline elements within them.
Supporting users have an ad free experience!