stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
HTML - PKT Flashcards | StudBud
Explore
/
HTML - PKT
HTML - PKT
22 terms
·
StudBud Administration
Quiz on HTML
Flashcards
22 cards
F
Practice quiz
P
Host live
L
Questions
22
Answers
1
What is the correct HTML for inserting a background image?
<background img="background.gif">
<body background="background.gif">
<body style= background:"background.gif">
<body style="background-image:url(background.gif)">
2
Choose the correct HTML tag to make a text italic
<em>
<it>
<italic>
<i>
3
What is the correct HTML for creating a hyperlink?
<a url="http://www.w3school.com"
<a name="http://www.w3school.com">w3school.com</a>
<a href="http://www.w3schools.com">w3schools.com</a>
<a>"http://www.w3schools.com"</a><a></a>
4
Which lines have errors in the picture below?
4,7,12
3,5,9
2,24,62
4,12
5
Where in an HTML document is the correct place to refer to an external style sheet?
At the top of the document
In the <body> section
In the <head> section
At the end of the document
6
What is the correct HTML tag for inserting a line break?
<div>
<break>
<span>
<br>
7
What does HTML stand for?
Happy Terminal Mannequin Lipstick
Home Tool Markup Language
Hyper Terminal Markup Language
Hyper Text Markup Language
8
Why is proper syntax important?
er uh junky
you will get an error
code will function poorly/not at all without it
It makes errors and junk
9
How can you make a numbered list?
<nl>
<ul>
<li>
<ol>
10
Choose the correct HTML tag to make a text bold
<em>
<strong>
<bold>
<b>
11
What will this code generate?<div style="width:50px; height:50px; background-color:red">
a red circle
a blue square
About 100 kwh
a red square
12
Which of these tags are all <table> tags?
<thead><body><tr>
<table><tr><td>
<table><head><tfoot>
<table><tr><tt>
13
What is the function of the <ul> tag?
makes a bulleted list
makes me breakfast because it's a sweetheart
it makes a universal list
It makes a numbered list
14
What is the correct HTML for referring to an external style sheet?
<style src="Stylesheet.css">
<link rel="stylesheet" type="text/css"href="stylesheet.css">
<stylesheet>mystyle.css</stylesheet>
<style src="mystyle.css">
15
How do you turn a line into a comment?
<!--- stuff to be comment --!>
Whisper it quietly to a neighbor
<--- stuff to be comment -->
<!--- stuff to be comment -->
16
What is the preferred way for adding a background color in HTML?
<body background="yellow">
<background style= #yolo>
<body style="background-color:yellow;">
<background>yellow</background>
17
What is wrong with the line of code in the picture?
missing quotaion
missing semi-colon
missing colon
the tag is too hyper and needs a time out
18
What is the correct HTML for inserting an image?
<img src="image.gif" alt="MyImage">
<image src="image.gif" alt="MyImage">
<img href="image.gif" alt="MyImage">
<img alt="MyImage">image.gif</img>
19
What is syntax?
it's like the rules for punctuation in writing.
A tax for being naughty
an error on my calculator
syntax is the rules for the use of symbols in programming
20
How can you make a bulleted list?
<bl>
<ul>
<bs>
<ol>
21
What is the correct tag for the largest heading?
<heading>
<h6>
<h1>
<head>
22
What does CSS stand for?
Colorful Style Sheets
Computer Style Sheets
Creative Style Sheets
Cascading Style Sheets