HTML and CSS Tags - Genuine Technology

Learn Web Development with Online Courses and Programs- Shan College

HTML tags:

  1. <html>: The opening and closing tags of an HTML document delineate its inception and conclusion, establishing the boundaries within which the document's content resides.
  2. <head>: The metadata of an HTML document encompasses essential information that provides context and details about the webpage's content and structure.t.
  3. <title>: Describe the title of  HTML documents.
  4. <body>: Contains the content of the HTML document that is visible on the web page.
  5. <header>: Describe a header section for a document..
  6. <nav>: Defines a set of navigation links for a document or a section.
  7. <main>: Describe the main content of a document or a specific section is defined by the designated tags, demarcating the primary focus and substance within the HTML structure..
  8. <article>: Defines an article or a section of an article in a document.
  9. <section>: Defines a section of a document.
  10. <aside>: Defines a section that is related to the main content of a document.
  11. <footer>: Defines the inclusion of supplementary information or concluding elements at the bottom of the HTML structure.
  12. <h1> - <h6>: Defines headings of different levels.
  13. <p>: Defines a paragraph.
  14. <a>: Defines a hyperlink.
  15. <img>: Defines an image.
  16. <ul>: Defines an unordered list.
  17. <ol>: Defines an ordered list.
  18. <li>: Defines a list item.
  19. <table>: Defines a table.
  20. <tr>: Defines a table row.
  21. <td>: Defines a table cell.
  22. <form>: Defines a form for user input.
  23. <input>: Defines an input field for user input.
  24. <button>: Defines a clickable button.
  25. <div>: Defines a section of a document for styling and manipulation purposes.



  1. Selector: Selects an HTML element to apply CSS styles to.
  2. Property: Defines the property to be modified.
  3. Value: Sets the value of the property.
  4. color: Sets the color of the text.
  5. font-size: Sets the size of the font.
  6. font-family: Sets the font family of the text.
  7. background-color: Set the background colour using the tag of background.            .
  8. margin: Sets the margin of an element.
  9. padding: Sets the padding of an element.
  10. border: Sets the border of an element.
  11. text-align: Sets the horizontal alignment of text.
  12. display: The display property determines how an element is rendered on the webpage, enabling the manipulation of its visibility and layout characteristics.
  13. height: Sets the height of an element.
  14. width: Sets the width of an element.
  15. float: Sets the floating behavior of an element.
  16. position: Sets the positioning behavior of an element.
  17. top: Sets the top position of an element.
  18. left: Sets the left position of an element.
  19. z-index: Sets the stacking order of an element.
  20. opacity: Sets the opacity of an element.
  21. transition: Sets the transition properties of an element.
  22. box-shadow: Sets the shadow properties of an element.
  23. text-shadow: Sets the shadow properties of text.
  24. border-radius: Sets the rounded corners of an element.
  25. background-image: Sets the background image of an element.
HTML and CSS Tags - Genuine Technology - short courses in lahore