html
html
• <p>
• My Bonnie lies over the ocean.
• My Bonnie lies over the sea.
• My Bonnie lies over the ocean.
• Oh, bring back my Bonnie to me.
• </p>
• </body>
• </html>
Headings
• <html>
• <body>
• <p>Use heading tags only for headings. Don't use them just to make
something bold. Use other tags for that.</p>
• </body>
• </html>
Centre
• <html>
• <body>
• </body>
• </html>
• <html>
• <body>
• <p>The hr tag defines a horizontal rule:</p>
• <hr>
• <p>This is a paragraph</p>
• <hr>
• <p>This is a paragraph</p>
• <hr>
• <p>This is a paragraph</p>
• </body>
• </html>
Text Formatting Tags
• TagDescription
• <b>Defines bold text
• <big>Defines big text
• <em>Defines emphasized text
• <i>Defines italic text
• <small>Defines small text
• <strong>Defines strong text
• <sub>Defines subscripted text
• <sup>Defines superscripted text<ins>Defines inserted text
• <del>Defines deleted text
• <s>Deprecated. Use <del> instead
• <strike>Deprecated. Use <del> instead
• <u>Deprecated. Use styles instead
Try this
• <html>
• <body>
• <pre>
• This is
• preformatted text.
• It preserves both spaces
• and line breaks.
• </pre>
• <pre>
• for i = 1 to 10
• print i
• next i
• </pre>
• </body>
• </html>
"Computer Output" Tags
• <table>Defines a table
• <th>Defines a table header
• <tr>Defines a table row
• <td>Defines a table cell
• <caption>Defines a table caption
• <colgroup>Defines groups of table columns
• <col>Defines the attribute values for one or more
columns in a table
• <thead>Defines a table head
• <tbody>Defines a table body
• <tfoot>Defines a table footer
Unordered Lists