Pro HTML5 and CSS3 Design Patterns

(avery) #1

CHAPTER 2 HTML DESIGN PATTERNS


HTML Structure


Container Contents

<html> <head> <body>

<head> <title> & (<meta> | <link> | <object> | <script> | <style> | <base> )
<body> <noscript> <div>

<noscript> inline | block
<article> inline | block

<section> inline | block
<nav> inline | block

<div> inline | block
<h1> inline

<p> inline
<ol> or <ul> <li>

<li> inline | block
<dl> <dt> <dd>

<dt> inline
<dd> inline | block

<table> <caption> <colgroup> <thead> <tfoot> <tbody>
<caption> inline

<colgroup> <col>
<col> null

<thead> <tr>
<tfoot> <tr>

<tbody> <tr>
<tr> <th> <td>

<th> inline | block
<td> inline | block

<form> inline | block (excluding <form>)
<fieldset> inline | block (excluding <form>)

<label>
<input>

inline (excluding <label>)
null

<textarea> text
<select> <optgroup> | <option>

<optgroup> <option>
Free download pdf