0 Comments
0 Shares
250 Views
32
0 Reviews
Directory
Discover new people, create new connections and make new friends
-
Please log in to like, share and comment!
-
0 Comments 0 Shares 212 Views 25 0 Reviews
-
HTML Headings (<h1> to <h6>)HTML headings are used to define headings and subheadings on a web page. They provide structure and hierarchy to your content, making it easier for both users and search engines to understand the page's organization. There are six levels of headings, from <h1> to <h6>, with <h1> being the most important and <h6> the least. Structure and Usage Hierarchy: Headings...0 Comments 0 Shares 2K Views 0 Reviews
-
HTML Paragraphs (<p>)HTML paragraphs are defined by the <p> tag. They are used to group related sentences or text into a single block of text. Browsers typically add a blank line before and after a paragraph for better readability. Basic Structure HTML <p>This is a paragraph.</p> Multiple Paragraphs HTML <p>This is the first paragraph.</p>...0 Comments 0 Shares 2K Views 0 Reviews
-
Line breaks (<br>)The <br> tag is used to insert a single line break in your HTML content. It's an empty element, meaning it doesn't have a closing tag. Basic Usage HTML <p>This is a paragraph with a <br> line break.</p> Example with Multiple Line Breaks HTML <p>This is a poem:<br> Line 1<br> Line 2<br> Line 3</p>...0 Comments 0 Shares 2K Views 0 Reviews
-
HTML Horizontal Rules (<hr>)The <hr> tag represents a thematic break in a page, typically displayed as a horizontal rule. It separates content into distinct sections. Basic Usage HTML <hr> Example with Other Elements HTML <h1>Section 1</h1> <p>Content for section 1.</p> <hr> <h1>Section 2</h1> <p>Content for section...0 Comments 0 Shares 2K Views 0 Reviews
-
Global attributes (id, class, style, title)Global attributes are attributes that can be applied to any HTML element. They provide additional information or functionality for the element. Let's explore the common ones: id Purpose: Uniquely identifies an element within an HTML document. Usage: HTML <p id="myParagraph">This is a paragraph with an ID.</p> Key points: Must be unique within the...0 Comments 0 Shares 2K Views 0 Reviews
-
Element-specific attributes (alt for images, href for links)While global attributes can be applied to any HTML element, some attributes are specific to certain elements. Let's look at two common examples: alt attribute for images (<img>) Purpose: Provides alternative text for an image. This text is displayed if the image cannot be loaded, or for users who are visually impaired and use screen readers. Usage: HTML <img...0 Comments 0 Shares 2K Views 0 Reviews
-
Adding comments in HTML (<!-- comment -->)While global attributes can be applied to any HTML element, some attributes are specific to certain elements. Let's look at two common examples: alt attribute for images (<img>) Purpose: Provides alternative text for an image. This text is displayed if the image cannot be loaded, or for users who are visually impaired and use screen readers. Usage: HTML <img...0 Comments 0 Shares 2K Views 0 Reviews
-