Professional Documents
Culture Documents
Heading Heading ETC ETC. Paragraphs - Paragraph HTML Links Wordsonwhatthelinkis (
Heading Heading ETC ETC. Paragraphs - Paragraph HTML Links Wordsonwhatthelinkis (
ETC ETC.
Body - The <body> element defines the body of the HTML document.
The element has a start tag <body> and an end tag </body>. HTML Lines - The <hr /> tag creates a horizontal line in an HTML page. HTML Comments - <!-- This is a comment -->
HTML Line Breaks - <p>This is<br />a para<br />graph with line breaks</p>
(<br />) HTML text format - <b> - Bold text <i> Italic Text <strong> or <em> means that you want the text to be rendered in a way that the user understands as "important".
Placing text in the center <html> <body> <center><h1>This is a test</h1></center> </body> </html>
HTML table <table border="1"> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>row 1, cell 1</td> <td>row 1, cell 2</td> </tr> <tr> <td>row 2, cell 1</td> <td>row 2, cell 2</td> </tr> </table>
HTML Ordered lists: An ordered list starts with the <ol> tag. ----->
<dl> <dt>Coffee</dt> <dd>- black hot drink</dd> <dt>Milk</dt> <dd>- white cold drink</dd> </dl>
<form> <input type="radio" name="sex" value="male" /> Male<br /> <input type="radio" name="sex" value="female" /> Female </form> This is how it would look like -
Male
Female
<form> <input type="checkbox" name="vehicle" value="Bike" /> I have a bike<br /> <input type="checkbox" name="vehicle" value="Car" /> I have a car </form> This is how it would look like -
I have a bike
I have a car
<form name="input" action="html_form_action.asp" method="get"> Username: <input type="text" name="user" /> <input type="submit" value="Submit" /> </form> This is how it would look like Submit
Username: