stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
HTML&CSS Flashcards | StudBud
Explore
/
HTML&CSS
HTML&CSS
32 terms
·
StudBud Administration
·
29 plays
HTML&CSS
Flashcards
32 cards
F
Practice quiz
P
Host live
L
Questions
32
Answers
1
What is the correct HTML for inserting an image?
<image src="image.gif" alt="MyImage">
<img src="image.gif" alt="MyImage">
<img href="image.gif" alt="MyImage">
<img alt="MyImage">image.gif</img>
2
What does HTML stand for?
Home Tool Markup Language
Hyperlinks and Text Markup Language
Home Markup Language
Hyper Text Markup Language
3
Choose the correct HTML element to define emphasized text
<i>
<em>
<samp>
<italic>
4
Who is making the Web standards?
Mozilla
Google
Microsoft
The World Wide Web Consortium
5
Which property is used to change the background color?
background
bgcolor
color
background-color
6
Which HTML attribute is used to define inline styles?
font
styles
style
class
7
Where in an HTML document is the correct place to refer to an external style sheet?
In the <body> section
At the end of the document
In the <title> section
In the <head> section
8
What does CSS stand for?
Colorful Style Sheets
Cascading Style Sheets
Computer Style Sheets
Creative Style Sheets
9
How can you make a numbered list?
<list>
<ul>
<dl>
<ol>
10
How can you make a bulleted list?
<dl>
<list>
<ul>
<ol>
11
What is the correct HTML element for inserting a line break?
<br>
<break>
<tall>
<lb>
12
Which doctype is correct for HTML?
<!DOCTYPE html>
<!DOCTYPE HTML5>
<!DOCTYPE>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN">
13
Which CSS property is used to change the text color of an element?
bgcolor
color
text-color
font-color
14
Which HTML tag is used to define an internal style sheet?
<style>
<html>
<css>
<script>
15
Which character is used to indicate an end tag?
^
*
<>
/
16
Which program do you need to write HTML?
A graphics program
MS word
HTML-development suite 4
Text editor
17
Which is the correct CSS syntax?
{body;color:black;}
body {color: black;}
{body:color=black;}
body:color=black;
18
What is the correct HTML for referring to an external style sheet?
<link rel="stylesheet" type="text/css" href="mystyle.css">
<style src="mystyle.css">
<stylesheet>mystyle.css</stylesheet>
<link rel=stylesheet type=text/css href=mystyle.css>
19
Choose the correct HTML element for the largest heading
<h6>
<h1>
<head>
<heading>
20
What is the correct HTML for creating a hyperlink?
<a name="http://www.w3schools.com">W3Schools.com</a>
<a href="http://www.w3schools.com">W3Schools</a>
<a url="http://www.w3schools.com">W3Schools.com</a>
<a>http://www.w3schools.com</a>
21
How do you add a background color for all <h1> elements?
all.h1 {background-color:#FFFFFF;}
h1.all {background-color:#FFFFFF;}
h1 {background-color:#FFFFFF;}
all.h1 {color:#FFFFFF;}
22
Which of these elements are all <table> elements?
<table><tr><tt>
<table><tr><td>
<thead><body><tr>
<table><head><tfoot>
23
What should be the last tag in your webpage?
<html>
</body>
</end>
</html>
24
The <title> tag belongs where in your HTML ?
Arm
Head
Body
HTML
25
Which HTML element defines the title of a document?
<body>
<title>
<head>
<meta>
26
What is the correct HTML for adding a background color?
<back>yellow</back>
<body bg="yellow">
<background>yellow</background>
<body style="background-color:yellow;">
27
What does emphasized <em> </em> text look like?
Big
ALL CAPS
Bold
italics
28
How can you open a link in a new tab/browser window?
<a href="url">
<a href="url" new>
<a href="url" target="new">
<a href="url" target="_blank">
29
{ } Curly braces are used in
tables
images
External style sheets
Internal style sheets
30
Which CSS property controls the text size?
font-style
text-style
text-size
font-size
31
Choose the correct HTML element to define important (bold) text
<b>
<i>
<strong>
<important>
32
Which HTML attribute specifies an alternate text for an image if the image cannot be displayed?
src
alt
title
longdesc