NEW
Font size
WorksheetsElements, Paths, and Entities
Total questions: 15
Worksheet time: 8mins
How will this line of code display?
<p>A</p><p>B</p><p>C</p>
A
B
C
A B C
ABC
A</p><p>B</p><p>C
Which statement is true about this line of code?
<p>Hello, <em>World!</em></p>
<em> is the closing tag
The code will not work since the sentence ends with !
</p> is the closing tag
The sentence will display as:
Hello,
World!
How will this line of code display?
<em>A</em><em>B</em><em>C</em>
A</em><em>B</em><em>C
A
B
C
A B C
ABC
What is class="class1" in this line of code?
<p class="class1">Hello World.</p>
ID
Embedded style
Attribute
Inline style
In this line of code, "Hello, World.", is the ___ of the ___.
<p>Hello, World.</p>
content, element
attribute, element
value, style
content, attribute
In this line of code, href tells the browser
<link ... href="styles/styles.css>
where to find the style sheet named styles.css.
that the styles.css file is in the same folder as the HTML page.
how many style sheets there are.
to ignore all other CSS style rules.
An absolute path to a file or website looks like:
<a href="www.example.com">
<a href="../example.com">
<a href="http://www.example.com">
<a href="http//:www.example.com">
<a href="/fruit/apples/fuji">
The href path is relative
The href path is absolute
The href path is fixed
The href path is above the current root folder.
The character entity code for the copyright symbol.
#@copy/
©
@copy;
&#copy;
< is the character entity for
<
>
/
@
> is the character entity for
>
<
/
"
"
<
*
#
"
&
&
*
"
#
'
"
'
#
/
The code for making a comment in HTML
<!-- comment -->
/* comment */
<-- comment --/>
/ comment
