Which HTML element is used to define a division or a section?
A
<span> B
<div> C
<section> D
<article>
Analysis & Theory
`<div>` is a generic container used to define divisions or sections in HTML.
Which element is used for inline text formatting in HTML?
A
<div> B
<span> C
<section> D
<p>
Analysis & Theory
`<span>` is an inline container used to mark up a part of a text.
Which element represents the main content of an HTML document?
A
<main> B
<body> C
<content> D
<article>
Analysis & Theory
`<main>` contains the dominant content of the `<body>` that is unique to the page.
Which HTML element is used to define a navigation menu?
A
<nav> B
<menu> C
<navigation> D
<ul>
Analysis & Theory
`<nav>` is used to define navigation links and menus.
Which HTML element is used to define the footer of a document or section?
A
<bottom> B
<footer> C
<end> D
<foot>
Analysis & Theory
`<footer>` defines the footer of a document or section, usually containing metadata or links.
Which element is used to define the header section of an HTML document?
A
<heading> B
<h1> C
<header> D
<head>
Analysis & Theory
`<header>` defines a header for a document or section. (Don't confuse with `<head>`!)
Which element is used to group form controls in HTML?
A
<fieldset> B
<formgroup> C
<group> D
<inputset>
Analysis & Theory
`<fieldset>` is used to group related inputs within a form.
What HTML element is used to embed JavaScript code?
A
<js> B
<code> C
<script> D
<javascript>
Analysis & Theory
`<script>` is used to include or embed JavaScript code in HTML.
Which element is used to include metadata and links in HTML?
A
<body> B
<meta> C
<head> D
<link>
Analysis & Theory
`<head>` contains metadata, links to stylesheets, scripts, and other settings.
Which element is used to mark emphasized text in HTML?
A
<b> B
<i> C
<em> D
<strong>
Analysis & Theory
`<em>` stands for emphasized text, usually rendered in italic and has semantic meaning.