bassic html tags

10
Bassic HTML TAGS

Upload: harendra-singh

Post on 15-Jun-2015

229 views

Category:

Technology


0 download

DESCRIPTION

HTML tags contain three main parts: opening tag, content and closing tag. But some HTML tags are unclosed tags. When a web browser reads an HTML document, browser reads it from top to bottom and left to right. HTML tags are used to create HTML documents and render their properties. Each HTML tags have different properties.

TRANSCRIPT

Page 1: Bassic html tags

Bassic HTML TAGS

Page 2: Bassic html tags

HTML Tags

• HTML tags contain three main parts: opening tag, content and closing tag. But some HTML tags are unclosed tags.

• When a web browser reads an HTML document, browser reads it from top to bottom and left to right. HTML tags are used to create HTML documents and render their properties. Each HTML tags have different properties.

Page 3: Bassic html tags

Syntax

<tag> content </tag>

Note: HTML Tags are always written in lowercase letters.

Page 4: Bassic html tags

HTML Tag Examples

<p> Paragraph Tag </p><h2> Heading Tag </h2><b> Bold Tag </b><i> Italic Tag </i><u> Underline Tag</u>

Page 5: Bassic html tags

Unclosed HTML Tags

• Some HTML tags are not closed, for example br and hr.

• <br> Tag: br stands for break line, it breaks the line of the code.

• <hr> Tag: hr stands for Horizontal Rule. This tag is used to put a line across the webpage.

Page 6: Bassic html tags

HTML Meta Tags

1. <DOCTYPE>2. <title>3. <link>4. <meta>5. <style>

Page 7: Bassic html tags

HTML Text Tags

1. <p>2. <h1>, <h2>, <h3>, <h4>,

<h5>, <h6>3. <strong>4. <em>5. <abbr>6. <acronym>7. <address>8. <bdo>9. <blockquote>10. <cite>

11. <q>12. <code>13. <ins>14. <del>15. <dfn>16. <kbd>17. <pre>18. <samp>19. <var> 20. <br>

Page 8: Bassic html tags

HTML Link Tags

1. <a> 2. <base>

HTML Image and Object Tags

1. <img>2. <area>3. <map>4. <param> 5. <object>

Page 9: Bassic html tags

HTML List Tags

1. <ul>,2. <ol>3. <li>4. <dl>5. <dt> 6. <dd>

HTML Table Tags

1. <table>2. < tr>3. <td>4. <th>5. <tbody>6. <thead>7. <tfoot>8. <col>9. <colgroup> 10. <caption>

Page 10: Bassic html tags

HTML Form Tags

1. <form>2. <input>3. <textarea>4. <select>5. <option>6. <optgroup>7. <button>8. <label> 9. <fieldset> 10. <legend>

HTML Scripting Tags

1. <script> 2. <noscript>