Feature of Html







    
    
    HTML Features
    


    

Features of HTML

HTML Features Explained


1. <!DOCTYPE html> - Defines the document type and version of HTML.
2. <html> - The root element of an HTML page.
3. <head> - Contains metadata and links to stylesheets and scripts.
4. <title> - Sets the title of the webpage shown in the browser tab.
5. <meta> - Provides metadata such as character set and viewport settings.
6. <body> - Contains the content of the webpage, including text, images, and other media.
7. <h1> to <h6> - Define headings, with <h1> being the highest level and <h6> the lowest.
8. <p> - Defines a paragraph of text.
9. <a> - Defines a hyperlink to another page or resource.
10. <img> - Embeds an image into the webpage.
11. <ul> and <ol> - Define unordered and ordered lists.
12. <table> - Defines a table, with <tr> for rows, <td> for cells, and <th> for headers.
13. <form> - Defines a form for user input, with elements like <input>, <textarea>, and <button>.
14. <div> and <span> - Define block-level and inline containers for styling and grouping content.
15. <script> - Embeds JavaScript into the page.
        




Leave a Reply

Your email address will not be published. Required fields are marked *

Resize text
Scroll to Top