Join Regular Classroom : Visit ClassroomTech

HTML – codewindow.in

Related Topics

CSS

Introduction
CSS Page 1
CSS Page 2
CSS Page 3
CSS Page 4

CSS Selectors and the Box Model
CSS Page 5
CSS Page 6
CSS Page 7

CSS Layout and Display Properties
CSS Page 8
CSS Page 9
CSS Page 10
CSS Page 11

CSS Text and Font Properties
CSS Page 12
CSS Page 13
CSS Page 14
CSS Page 15

CSS Backgrounds and Borders
CSS Page 16
CSS Page 17
CSS Page 18
CSS Page 19
CSS Page 20

CSS Colors and Transparency
CSS Page 21
CSS Page 22
CSS Page 23
CSS Page 24

CSS Gradients and Shadows
CSS Page 25
CSS Page 26

CSS Transformations and Animations
CSS Page 27
CSS Page 28
CSS Page 29

CSS Flexbox and Grid Layout
CSS Page 30
CSS Page 31
CSS Page 32

CSS Media Queries and Responsive Design

CSS Page 33
CSS Page 34
CSS Page 35

CSS Transitions and Transforms
CSS Page 36
CSS Page 37
CSS Page 38

CSS Preprocessors (Sass, Less, etc.)
CSS Page 39
CSS Page 40
CSS Page 41

CSS Best Practices and Debugging Techniques.
CSS Page 42
CSS Page 43
CSS Page 44

HTML

<article>
  <h2>My Favorite Books</h2>
  <p>Here are some of my favorite books:</p>
  <ul>
    <li>The Catcher in the Rye</li>
    <li>To Kill a Mockingbird</li>
    <li>Pride and Prejudice</li>
  </ul>
</article>

The “section” element, on the other hand, is used to group related content together within a page, such as a chapter or section of a book, or a section of a long article. The content within a “section” element should be thematically related and have a common heading or title. For example:

<section>
  <h2>Chapter 1: The Adventure Begins</h2>
  <p>Once upon a time, in a land far, far away...</p>
  <p>...</p>
</section>

<section>
  <h2>Chapter 2: The Quest for the Magic Amulet</h2>
  <p>Our heroes set out on a perilous journey...</p>
  <p>...</p>
</section>

By using semantic elements like “article” and “section” in your HTML code, you make it easier for search engines, screen readers, and other assistive technologies to understand the structure and meaning of your content, which can help improve accessibility and search engine optimization.

<article>
  <hgroup>
    <h1>Introduction</h1>
    <h2>About HTML5</h2>
  </hgroup>
  <p>HTML5 is the latest version of the Hypertext Markup Language (HTML) used to create websites and other online content.</p>
</article>

In this example, the <hgroup> element groups together the main heading (<h1>Introduction</h1>) and a subheading (<h2>About HTML5</h2>) that provide context for the article. The <p> element contains the actual content of the article.

<figure>
  <img src="image.jpg" alt="A beautiful landscape">
  <figcaption>Photo of a beautiful landscape</figcaption>
</figure>

In this example, the <figure> element groups together an image with a caption that describes it. The <img> element is used to display the image, while the <figcaption> element contains the caption.

Another use case of <figure> and <figcaption> is for embedding videos, where the <figure> element can be used to group the video player with its caption, and the <figcaption> element can provide additional information or a transcript of the video.

Overall, the <figure> and <figcaption> elements provide a way to semantically link together media objects and their associated descriptive content, which can improve accessibility, usability, and search engine optimization of web content.

      

Popular Category

Topics for You

CSS

Introduction
CSS Page 1
CSS Page 2
CSS Page 3
CSS Page 4

CSS Selectors and the Box Model
CSS Page 5
CSS Page 6
CSS Page 7

CSS Layout and Display Properties
CSS Page 8
CSS Page 9
CSS Page 10
CSS Page 11

CSS Text and Font Properties
CSS Page 12
CSS Page 13
CSS Page 14
CSS Page 15

CSS Backgrounds and Borders
CSS Page 16
CSS Page 17
CSS Page 18
CSS Page 19
CSS Page 20

CSS Colors and Transparency
CSS Page 21
CSS Page 22
CSS Page 23
CSS Page 24

CSS Gradients and Shadows
CSS Page 25
CSS Page 26

CSS Transformations and Animations
CSS Page 27
CSS Page 28
CSS Page 29

CSS Flexbox and Grid Layout
CSS Page 30
CSS Page 31
CSS Page 32

CSS Media Queries and Responsive Design

CSS Page 33
CSS Page 34
CSS Page 35

CSS Transitions and Transforms
CSS Page 36
CSS Page 37
CSS Page 38

CSS Preprocessors (Sass, Less, etc.)
CSS Page 39
CSS Page 40
CSS Page 41

CSS Best Practices and Debugging Techniques.
CSS Page 42
CSS Page 43
CSS Page 44

Go through our study material. Your Job is awaiting.

Recent Posts
Categories