Html Fundamental/Basic tags


Published on

A detail of HTML basic Tags with cross platform compatibility. Basic Tags are used normally often for web Page creation.

Published in: Education, Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Html Fundamental/Basic tags

  1. 1. Prepared By Gusani Mayank
  2. 2. HTML Tags <ul><li>HTML markup tags are usually called HTML tags </li></ul><ul><li>HTML tags are keywords surrounded by angle brackets like <html> </li></ul><ul><li>HTML tags normally come in pairs like <b> and </b> </li></ul><ul><li>The first tag in a pair is the start tag, the second tag is the end tag </li></ul><ul><li>Start and end tags are also called opening tags and closing tags </li></ul>
  3. 3. HTML 4.01 Basic Tag Reference
  4. 4. HTML 4.01 Basic Tag Reference
  5. 5. HTML <!DOCTYPE> Declaration <ul><li>The doctype declaration should be the very first thing in an HTML document, before the <html> tag. </li></ul><ul><li>The doctype declaration is not an HTML tag; it is an instruction to the web browser about what version of the markup language the page is written in. </li></ul><ul><li>The doctype declaration refers to a Document Type Definition (DTD). The DTD specifies the rules for the markup language, so that the browsers render the content correctly. </li></ul>
  6. 6. Example :
  7. 7. HTML <html> Tag <ul><li>The <html> tag tells the browser that this is an HTML document. </li></ul><ul><li> The html element is the outermost element in HTML. </li></ul>
  8. 8. HTML <body> Tag <ul><li>The body element defines the document's body. </li></ul><ul><li>The body element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc. </li></ul>
  9. 9. Optional Attributes
  10. 10. Standard Attributes
  11. 11. HTML <h1> to <h6> Tags <ul><li>The <h1> to <h6> tags are used to define HTML headings. </li></ul><ul><li><h1> defines the most important heading. <h6> defines the least important heading. </li></ul>
  12. 12. Optional & Standard Attributes
  13. 13. HTML <p> Tag <ul><li>The <p> tag defines a paragraph. </li></ul><ul><li>The p element automatically creates some space before and after itself. The space is automatically applied by the browser, or you can specify it in a style sheet. </li></ul>
  14. 14. Optional & Standard Attributes
  15. 15. HTML <br> Tag <ul><li>The <br> tag inserts a single line break.  </li></ul><ul><li>The <br> tag is an empty tag which means that it has no end tag. </li></ul>
  16. 16. HTML <hr> Tag <ul><li>The <hr> tag creates a horizontal line in an HTML page. </li></ul><ul><li>The hr element can be used to separate content in an HTML page. </li></ul>
  17. 17. Optional & Standard Attributes
  18. 18. HTML <!--...--> Tag <ul><li>The comment tag is used to insert a comment in the source code. A comment will be ignored by the browser. You can use comments to explain your code, which can help you when you edit the source code at a later date. </li></ul><ul><li>You can also store program-specific information inside comments. In this case they will not be visible for the user, but they are still available to the program. A good practice is to comment the text inside scripts and style elements to prevent older browsers, that do not support scripting or styles, from showing it as plain text. </li></ul><ul><li>The comment tag does not support any standard attributes. </li></ul>
  19. 19. End Of HTML Tour