WorksheetsFreecodecamp - lesson 1
Total questions: 10
Worksheet time: 5mins
Which of these makes a 'top level heading'
<p> </p>
<h1> </h1>
<h2> </h2>
<a> </a>
How do you start a comment in HTML
<!--
! --
< comment >
#--
How do you end a comment in HTML?
--!
--#
-->
end comment >
What are the two 'child elements' in this picture?
<main> + <h1>
<h1> + <p>
<main> + <p>
<a> + <h2>
<img> tags are self closing?
True
False
Why won't the following code work?
<img scr = "cats.jpg" alt="picture of cats">
There is no closing tag
the alt is not formatted correctly
the scr should say src
pictures of cats don't work on the internet
What does the a stand for in the following code?
<a href="https://freecodecamp.org">this links to freecodecamp.org</a>
anchor
advert
attention
a link
Is the link in the picture a link to an internal link or an external link?
Internal
External
target="_blank" in a link means what?
That nothing will happen when clicked on
That the link will turn white
That the link doesn't work
That the link will open in a new window
What happens if you put this: href="#" into your link code?
It will make the link 'dead'
It will make the link go to the top of the page
It will link to the previous website
It will link to all the # elements
