879 views
0 votes
What are the 5 HTML Tags and explain what each do?

User Akhil S
by
4.3k points

2 Answers

2 votes

Answer:

8 HTML tags you need to be using (and 5 to avoid)

<picture> the <picture> element provides flexibility by allowing multiple <source> elements for the same resource, which can adapt based on a media query or image type support.

<figure> ...

<code> ...

<time>

User Enkor
by
4.3k points
3 votes

Answer:

<article> This element is used to define an independent piece of content in a document, that may be a blog, a magazine or a newspaper article.

<aside> It specifies that article is slightly related to the rest of the whole page.

<audio> It is used to play audio file in HTML.

<bdi> The bdi stands for bi-directional isolation. It isolates a part of text that is formatted in other direction from the outside text document.

<canvas> It is used to draw canvas.

Step-by-step explanation:

User VeeeneX
by
5.3k points