Font size
WorksheetsIntro to HTML Lessons 1-5 CodeHS
Total questions: 30
Worksheet time: 20mins
Coding Language used to build webpages
HMTL
HTML
HLTM
JavaScript
Lets you annotate text to define how it should be displayed
Markup Language
HTML Tags
Run
Browser
Not actually displayed
HTML
Browser
HTML Tags
HyperText
To see the resulting webpage on CodeHS, you should click _______
Browser
HTML Tags
HyperText
Run
Text displayed on a computer that has links to other documents
MarkUp Language
HyperText
HTML Tags
Web pages
Tells the computer what version of HTML is being used
Head
Title
Doctype
Tag
<!DOCTYPE html> says we are using what version of HTML
5
6
7
8
Says everything between these tags is our html page.
<head>
<title>
<html>
<hltm>
Container for all other html tags
<title><title>
<head></head>
<html></html>
<html><html>
The ____ tag contains important information about the document
<title>
<head>
<html>
<hltm>
Defines the title of the webpage.
<title>
<head>
<html>
<body>
Where the actual content of the document goes and is where most of your html tags will go.
<title></title>
<head></head>
<html></html>
<body></body>
What is used to show the structure of the tags?
indenting
curly braces
braces
brackets
A tree is
the way to identify tags
the structure of the html document
where most of the content goes
where you can add special tags
The <head> tag and the <body> tag are inside the <html> tag
True
False
The <title> tag is inside the <head> tag
True
False
What is the function of the <br> tag?
Create a line break on the resulting webpage
Create a horizontal line on the resulting webpage
Italicize text
Bold text
Which of the following is the correct HTML code to create a hyperlink that displays and links to google.com?
<a href="https://google.com">
Click Me
</a>
<a href="Click Me">
https://google.com
</a>
Click Me <a>https://google.com</a>
<a>
Click Me
</a href="https://google.com">
Which of the following lines of HTML code will insert an image into a webpage?
<img>
https://codehs.com/static/img/logo.png
</img>
<img>
src="https://codehs.com/static/img/logo.png"
</img>
<img src="https://codehs.com/static/img/logo.png">
<img https://codehs.com/static/img/logo.png>
This tag creates a paragraph tag, which provides an automatic break between paragraphs.
Write the correct tag.
(a)
This tag allows you to make text on a page bold.
Write the correct tag.
(a)
This tag allows you to make text on a page italic.
Write the correct tag
(a)
This tag creates a break on a page that moves all text or elements down the page.
Write the correct tag.
(a)
This tag creates a break on a page, but includes a horizontal line.
Write the correct tag.
(a)
This tag allows putting links on a web page. It uses the href attribute to specify what the link should point to.
Write the correct tag.
(a)
Points the user to a hypertext document that will be loaded once the user clicks on it.
Document
Image
Link
href
These three letters specifies where to get the image from.
(a)
Allows adding an image to a web page. Write the correct tag.
(a)
All of these attributes can be used with the <img> tag except....
Height
Width
<b>
src
Which tag do not need a closing tag because they are not enclosing any information?
(a)
