Junior
What new tags were introduced in HTML5 and which tags became obsolete?
sobes.tech AI
Answer from AI
New tags in HTML5
article: Self-contained content (article, blog post).aside: Content related to the main content but secondary (sidebar, inset).audio: Embedding audio content.canvas: Dynamic rendering of graphics using JavaScript.datalist: Predefined list of options for input.details: Expand/collapse widget containing additional information.embed: Embedding external content (plugins).figcaption: Caption for thefigureelement.figure: Self-contained content, often with a caption (figcaption) (image, diagram).footer: Footer of a section or page.header: Header of a section or page.mark: Highlighting text for emphasis.meter: Scale for measuring a value within a range.nav: Navigation links.output: Result of a calculation.progress: Progress indicator of a task.section: Self-contained section of a document.source: Specifies media sources foraudioorvideoelements.summary: Brief description for thedetailselement.time: Display of date and/or time.video: Embedding video content.wbr: Recommended position for word break (Zero-width space).
Deprecated tags in HTML5 (not recommended to use)
acronym(replaced byabbr)applet(replaced byembedorobject)basefontbigcenterdir(replaced byul)fontframeframesetnoframesstrike(replaced bysor CSS)tt(replaced bycodeor CSS)
Some attributes are also deprecated, for example, align for many tags or border for table.