HTML Comments
HTML Comments HTML comments are used to add notes or explanations in your code. Comments are not displayed in the browser and are ignored by It. Syntax of HTML Comment <!– This is a...
HTML Comments HTML comments are used to add notes or explanations in your code. Comments are not displayed in the browser and are ignored by It. Syntax of HTML Comment <!– This is a...
HTML Colors HTML colors are used to style text, backgrounds, borders, and other elements. Colors are usually applied using CSS, either inline or via stylesheets. Ways to Define Colors in HTML There are 4...
HTML Styles – CSS CSS (Cascading Style Sheets) is used to style and format HTML elements. Instead of adding styles directly inside HTML tags, CSS makes the design cleaner, easier to manage, and more...
HTML Links HTML links are created using the <a> (anchor) tag. Links allow users to navigate from one page to another or open websites, files, email addresses, or sections within the same page. The...
HTML Images HTML Images are displayed using the <img> tag.The <img> tag is self-closing and does not need an end tag. The most important attribute is src, which specifies the path or URL of...
🌐 HTML Favicon A favicon (short for favorite icon) is the small icon that appears: In the browser tab In bookmarks In history & shortcuts It helps users identify your website quickly. 🔹 1....
🌐 HTML Page Title The HTML Page Title is the text that appears: On the browser tab In search engine results (SEO) In bookmarks It is defined using the <title> tag. 🔹 1. What...
🌐 HTML Tables HTML Tables are used to display data in rows and columns, such as reports, price lists, timetables, and comparisons. 1. Basic Table Structure
|
1 2 3 4 5 6 7 8 9 10 11 12 |
<table> <tr> <th>Name</th> <th>Age</th> <th>City</th> </tr> <tr> <td>Sanjit</td> <td>22</td> <td>Kolkata</td> </tr> </table> |
Tags Explained <table> → table container <tr>...
HTML Lists HTML lists are used to group related items in a structured way. There are three main types of lists in HTML: Unordered List (<ul>) Ordered List (<ol>) Description List (<dl>) 1. Unordered...
🌐 HTML Block and Inline Elements In HTML, elements are mainly classified into Block-level and Inline elements. Understanding this difference is very important for layout and styling. 1. Block-Level Elements Block elements: Always start...