HTML5: old tags for a new purpose. HTML5 elements - new tags
24.06.2019
News
HTML tags is the basis of the HTML language. Tags are used to delimit the start and end of elements in markup.
Every HTML document consists of a tree of HTML elements and text. Each HTML element is identified by a start (opening) and an end (closing) tag. The start and end tags contain the tag name.
All HTML elements are divided into five types:
empty elements — , , , , , , , ,
Used to store additional information about the page. This information is used by browsers to process the page, and search engines to index it. In the block there may be multiple tags , because depending on the attributes used, they carry different information.
Measurement indicator in the specified range.
A section of a document that contains navigational links throughout a site.
Specifies a section that does not support scripting (script).
A container for embedding media (such as audio, video, Java applets, ActiveX, PDF, and Flash). You can also insert another web page into the current HTML document. The tag is used to pass parameters to an embedded plugin. .
An ordered numbered list. Numbering can be numeric or alphabetical.
Container with a title for a group of elements .
Specifies the option/option to select from a dropdown list , or .
A field for displaying the result of a calculation calculated using a script.
paragraphs in the text.
Defines options for plugins embedded with the element .
Container element containing one element and zero or more elements . By itself, it doesn't display anything. Allows the browser to select the most appropriate image.
Displays text without formatting, preserving spaces and text hyphens. Can be used to display computer code, email messages, etc.
A progress indicator for a task of any kind.
Specifies a short quotation.
Container for East Asian characters and their decoding.
Specifies the text nested within it as the base component of the annotation.
Adds a short description above or below the characters enclosed in the element , is displayed in small font.
Marks nested text as an optional annotation.
Displays alternative text if the element is not supported by the browser .
Displays text that is not relevant, strikethrough.
Used to display text representing the result of executing a program code or script, as well as system messages. Displayed in monospace font.
This code can be included directly in head or connected via an external file.
Conclusion
So you can structure your documents right now with the new HTML5 tags.
HTML5 introduces several new tags for code structure:
,
,
,
, , which in some cases replace the usual . Although there seems to be little difference between the tags
Top Related Articles