1. Basic HTML Structure
This is the foundation of any HTML document. It includes the essential elements such as the <!DOCTYPE>, <html>, <head>, and <body>.
2. Headings and Paragraphs
HTML provides six levels of headings (from <h1> to <h6>), and the <p> tag is used for paragraphs.
3. Links and Images
You can add hyperlinks using the <a> tag, and images using the <img> tag.
4. Lists (Ordered and Unordered)
HTML supports both ordered lists (numbered) and unordered lists (bulleted).
5. Tables
HTML tables allow you to display data in rows and columns using the <table>, <tr>, <th>, and <td> tags.
6. Forms
HTML forms are used to collect user input. They typically use the <form>, <input>, <textarea>, and <button> elements.
7. Comments in HTML
You can add comments in HTML code that are not visible in the browser.
No comments:
Post a Comment