+ 2
Can someone tell different types of content models in HTML and in which category <audio> belongs to.
Help me out
2 Answers
+ 2
Metadata:
Content that sets up the presentation or behavior of the rest of the content. These elements are found in theĀ <head>Ā section of the document.
Elements:Ā <base>,<link>,<meta>,<noscript>,<script>,<style>,<title>
Embedded:
Content that imports other sources into the document.
Elements:Ā <audio>,<video>,<canvas>,<iframe>,<img>,<math>,<object>,<svg>
Interactive:
Content specifically intended for user interaction.
Elements:Ā <a>,<audio>,<video>,<button>,<details>,<embed>,<iframe>,<img>,<input>,<label>,<object>,<select>,<textarea>
Heading:
Defines a section header.
Elements:Ā <h1>,<h2>,<h3>,<h4>,<h5>,<h6>Phrasing:This model has a number ofĀ inlineĀ elements in common withĀ HTML4.
Elements:Ā <img>,<span>,<strong>,<label>,<br>,<small>,<sub>, and more.
+ 1
The two last models are the following:
Flow content:
Contains the majority ofĀ HTML5Ā elements that would be included in the normal flow of the document.
Sectioning content:
Defines the scope of theĀ headings,Ā content,Ā navigation, andĀ footers.
Elements:Ā <article>,<aside>,<nav>,<section>,<footer>,<header>
See this: http://karak10notes.c1.biz/models.jpg