Question 1
Question
Which element represents the root of an HTML document?
Answer
-
<header>
-
<html>
-
<*>
-
<main>
-
<head>
Question 2
Question
Fill the gaps to complete the text.
The elements <[blank_start]h1[blank_end]>, <[blank_start]h2[blank_end]>, <[blank_start]h3[blank_end]>, <[blank_start]h4[blank_end]>, <[blank_start]h5[blank_end]>, <[blank_start]h6[blank_end]> define the header of different hierarchies. There are six different hierarchy levels, where <[blank_start]h1[blank_end]> is the main heading, and <[blank_start]h6[blank_end]> is the bottom level heading. A heading briefly describes the topic of the section to which it is heading.
The following paragraph is awarded with the <p> element. A longer standalone quote is awarded with a <[blank_start]blockquote[blank_end]> element. A short quotation within a text is marked with <[blank_start]q[blank_end]>. A link is awarded the <[blank_start]a[blank_end]> element.
Answer
-
h1
-
h2
-
h3
-
h4
-
h5
-
h6
-
h1
-
h6
-
blockquote
-
q
-
a
Question 3
Question
For which element is this description?
"A substantive section that is larger than an article."
Choose one of the following
Answer
-
<figure>
-
<section>
-
<div>
-
<p>
Question 4
Question
What is the correct basic framework of an HTML page?
Choose one of the following:
Answer
-
<main><head></head><body></bod<></main>
-
<header></header><body></body>
-
<html><head></head><body></body></html>
-
<head></head><main><body></body><footer></footer></main>
Question 5
Question
How can external CSS files be integrated into an HTML page?
Answer
-
Styles must always be defined within the html page.
-
CSS files can be embedded using the <style> element.
-
External style files can be included with the <link> element.
Question 6
Question
Which element represents a section that contains only navigation links.
Answer
-
<aside>
-
<menue>
-
<nav>
-
<header>
Question 7
Question
Fill the gaps to complete the text:
The <[blank_start]em[blank_end]> element stands for highlighted text. <[blank_start]Strong[blank_end]> highlights particularly important, highly emphasized text. The <[blank_start]i[blank_end]> element represents a section of text, which is derived from the rest of the content and is usually displayed in italics, without a special emphasis or importance, ie an integrated distinction. The <[blank_start]b[blank_end]> element stands for a text section, which is offset from the rest of the content and is usually displayed in bold, without a special emphasis or importance. This may be, for example, a keyword or a product name in a product evaluation.
<[blank_start]U[blank_end]> Represents a section of text that is offset from the rest of the content and is usually underlined, without any particular emphasis or importance. This could be, for example, a proper name or a text section that is often spelled incorrectly.
Question 8
Question
Lists can be distinguished in different ways:
<[blank_start]ol[blank_end]> defines a list where the entries must have a certain order.
<[blank_start]ul[blank_end]>, on the other hand, defines a list of disordered entries.
<[blank_start]li[blank_end]> indicates a list entry. This is often preceded by a bullet.
Question 9
Question
To include an image that is part of the content, use the <[blank_start]figure[blank_end]> element. A corresponding caption is awarded <[blank_start]figcaption[blank_end]>.
Question 10
Question
The basic structure of an Html 5 page is as follows:
Within the root element <[blank_start]html[blank_end]> are the two necessary elements <[blank_start]head[blank_end]> and <[blank_start]body[blank_end]>.
The <[blank_start]body[blank_end]> element contains all the contents of the page. It is often divided into content sections. The <[blank_start]header[blank_end]> element defines the header of a page or section. It often contains a logo, the title of the site, and the site navigation. The main part of a page is enclosed by the <[blank_start]main[blank_end]> element.
For a marginal note, which is not directly related to the main text, use the <aside> element. The rest of the content should also be understandable when this element is removed.
The foot part of a page or section often contains copyright notices, a link to the imprint or contact address, and is clothed in the <[blank_start]footer[blank_end]> element.
Answer
-
html
-
head
-
body
-
body
-
header
-
main
-
footer
Question 11
Question
The <[blank_start]article[blank_end]> element encloses a content article, which can contain several paragraphs but is less than a <[blank_start]section[blank_end]> element.
Question 12
Question
<[blank_start]small[blank_end]> stands for the "small print" of a document, such as exclusion clauses, copyright notices or other things that are not absolutely necessary for the understanding of the document.
Question 13
Question
<h3> Football table <h3>
<[blank_start]ol[blank_end]>
<[blank_start]li[blank_end]> Bayern München </[blank_start]li[blank_end]>
<[blank_start]li[blank_end]> Leipzig </[blank_start]li[blank_end]>
<[blank_start]li[blank_end]> Dortmund </[blank_start]li[blank_end]>
</[blank_start]ol[blank_end]>
Question 14
Question
What do I select exactly when I write the following selector:
p {}
Answer
-
All elements of class p
-
The first paragraph of the website
-
All paragraphs within the first parent element
-
All paragraphs of the html document.
Question 15
Question
With which character is an id selector indicated?
Question 16
Question
By which spelling I can address all p and q elements?
Question 17
Question
By what spelling can I address all q elements that are within p elements?
Question 18
Question
What is the difference between the expressions "div p" and "div> p"?
Answer
-
The second example selects only the direct children of a div, but not those that are nested within the divs in other elements.
-
Both expressions select the same.
-
The first example selects only the direct children of a div, but not those that are within the divs in other elements.
-
The first example selects all divs and ps.
Question 19
Question
Which expression selects all paragraphs that follow directly a h3 heading?
Question 20
Question
How to select all the ul elements preceded by a p-element?