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