<textarea>...</textarea> This one is a multi-line, scrollable text entry box. You see it many places - like our competition forms for example.
<input type="radio" /> By giving them the same "name" attribute in groups, you can have a group of radio buttons restricted to a single choice. <input type="radio" name="vote" value="a" /> <input type="radio" name="vote" value="b" /> <input type="radio" name="vote" value="c" />
<input type="checkbox" /> For single or multiple selections. We commonly use these to get visitors to indicate that they have read our terms and conditions. <input type="checkbox" name="t-and-c"checked="checked" />
<select><option>... The select element, which contains option elements, displays as a pull-down menu by default when no size is specified or if the size attribute is set to 1. In pull-down menus, only one item may be selected
<p> Renowned type designer, Matthew Carter, has this to say about his profession: </p> <blockquote> <p> Our alphabet hasn't changed in eons; there isn't much latitude in what a designer can do with the individual letters. </p> <p> Much like a piece of classical music, the score is written down – it’s not something that is tampered with – and yet, each conductor interprets that score differently. There is tension in the interpretation. </p> </blockquote>
preformatted text We told you browsers ignore white space between elements in html right? What if we wanted to keep the whitespace, like tabs and spaces... intact?
Wrap it in the <pre> ... </pre> tags,and you let the browser know that it's preformatted!
the syntax glossary http://apnwebdev.pbworks.com/Syntax-Glossary
more references http://www.htmldog.com/guides/ - Guides on best practice web stuff. http://www.w3schools.com/tags/default.asp - The XHTML tag references. http://www.w3schools.com/css/css_reference.asp - The CSS property references.