HTML5 | Semantic Elements (Part-2) | New Semantic Elements in HTML5 |Beginner level

Опубликовано: 13 Октябрь 2024
на канале: Knowledge Thrusters
40
1

HTML5 | Semantic Elements (Part-2) | New Semantic Elements in HTML5 |Beginner level

HTML5 defines eight new semantic elements. All these are block-level elements.

The most interesting new HTML5 elements are:

New semantic elements like header, footer, article, and section.

New attributes of form elements like number, date, time, calendar, and range.

New graphic elements: svg and canvas.

New multimedia elements: audio and video.

A semantic element clearly describes its meaning to both the browser and the developer. Examples of non-semantic elements: div and span - Tells nothing about its content. Examples of semantic elements: form , table , and article - Clearly defines its content.

article
aside
details
figcaption
figure
footer
header
main
mark
nav
section
summary
time

#html5 #knowledgethrusters