• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/53

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

53 Cards in this Set

  • Front
  • Back
What does HTML stand for?

1. Hyperlinks and Text Markup Language
2. Hyper Text Markup Language
3. Home Tool Markup Language
2. Hyper Text Markup Language
What does XHTML stand for?

1. EXtra Hyperlinks and Text Markup Language
2. X-function of HTML
3. EXtensible HyperText Markup Language
4. EXtensible HyperText Marking Language
3. EXtensible HyperText Markup Language
The majority of a typical Web document will be found in:

1. the HEAD container
2. the TITLE container
3. the BODY container
4. a comment tag
3. the BODY container
The TITLE container goes inside:

1. the HEAD container
2. the TITLE container
3. the BODY container
4. a comment tag
1. the HEAD container
Every HTML document must contain these elements:

<html>
<head>
<title>
This is the title
</title>
</head>
<body>
</body>
</html>

Where is the right place to put the text of your web page?
Which of the following is correct?

a.

<html>
<head>
<title>
This is the title
</title>
This is the first text seen by the person
retrieving your page
</head>
<body>
</body>
</html>

b.

<html>
<head>
<title>
This is the title
</title>
</head>
This is the first text seen by the person
retrieving your page
<body>
</body>
</html>

c.

<html>
<head>
<title>
This is the title
</title>
</head>
<body>
This is the first text seen by the person
retrieving your page
</body>
</html>
c.

<html>
<head>
<title>
This is the title
</title>
</head>
<body>
This is the first text seen by the person
retrieving your page
</body>
</html>
What is the correct XHTML for a paragraph?

1. <p></p>
2. </p><p>
3. <P></p>
4. <P></P>
1. <p></p>
What is a correct XHTML tag for a line break?

1. <break/>
2. <br>
3. <br />
4. <br>
3. <br />
What is the correct XHTML for an attribute and its value?

1. width=80
2. width="80"
3. WIDTH=80
4. WIDTH="80"
2. width="80"
Correct the following XHTML segment:

<ul>
<li>Coffee</li>
<li>Tea
<ul>
<li>Black tea</li>
<li>Green tea</li>
</ul>
<li>Milk</li>
</ul>

so it will produce the following nested lists:

* Coffee
* Tea
o Black tea
o Green tea
* Milk
<ul>
<li>Coffee</li>
<li>Tea
<ul>
<li>Black tea</li>
<li>Green tea</li>
</ul></li>
<li>Milk</li>
</ul>
All XHTML tags and attributes must be in lower case

1. False
2. True
True
The correct HTML tag for the largest heading:

1. <head>
2. <heading>
3. <h6>
4. <h1>
4. <h1>
Which tag creates a bigger headline:

1. <H1>
2. <H6>
1. <H1>
What is the correct way to insert a line break?

1. Use the p tag
2. Use the hr tag
3. Use the br tag
4. Just press enter on the HTML document
3. Use the br tag
Which of the following is properly nested?

1. <p> This <b>Hello! </p></b>
2. <p> This <b>Hello! </b> <p>
3. <p> This <b>Hello! </b></p>
4. <p> This <b>Hello! </p><b>
3. <p> This <b>Hello! </b></p>
Which of the following is properly nested?

1. <p>A <b><i>short</b></i> paragraph</p>
2. <p>A <b><i>short</i></b> paragraph</P>
3. <p>A <b><i>short</i></b> paragraph</p>
3. <p>A <b><i>short</i></b> paragraph</p>
To separate two paragraphs with a blank line, which XHTML tag would you use?

1. <br />
2. <p>
3. <ol>
4. <hr />
2. <p>
Break the text below into two lines after "long."

Line too long. Break it up.
Line too long. <br />Break it up.
How should we close the br tag in XHTML?

1. <br>
2. <br />
3. </br>
4. All of the above
2. <br />
Choose the correct HTML tag to make a text bold

1. <bold>
2. <bld>
3. <b>
4. <bb>
3. <b>
The correct HTML for adding a background color to a web page:

1. <background>"#ffff00"</background>
2. <body color="#ffff00">
3. <body bgcolor="#ffff00">
3. <body bgcolor="#ffff00">
Link text "My Site" to "www.mysite.net" (absolute url):
<a href="http://www.mysite.net">My Page</a>
Link text "My Page" to a web page file in the same directory "home.html" (relative url):
<a href=" home.html">My Page</a>
Make text "My test site" to "www.test.com/test.html" (absolute url):
<a href="http://www.test.com/test.html">My test site</a>
Which of the following is the pair of HTML tags you would use to begin and end a bulleted list? (Not the tags for the individual items.)

1. <ul> and </ul>
2. <li> and </li>
3. <ol> and </ol>
1. <ul> and </ul>
Which of the following is the tag you use for each individual item in either a bulleted or numbered list?

1. <ol> and </ol>
2. <ul> and </ul>
3. <li> and </li>
3. <li> and </li>
The following XHTML code is used to create a navigation menu with four links (Home, Introduction, About me, and Contact) for a digital portfolio. Correct the mistakes.


<p><b><a href="index.html">Home></b></p>

<p><b><a href="introduction.html">Introduction</b></p>

<p><b><a href="about_me.html">About me</b></p>

<p><b><a href="contact.html">Contact</b></p>
<p><b><a href="index.html">Home></a></b></p>

<p><b><a href="introduction.html">Introduction</a></b></p>

<p><b><a href="about_me.html">About me</a></b></p>

<p><b><a href="contact.html">Contact</a></b></p>
The following XHTML code is used to create a navigation menu with four links (Home, Introduction, About me, and Contact) for a digital portfolio. The third link does not work. Correct and explain the mistake.

<p><b><a href="index.html">Home></a></b></p>

<p><b><a href="introduction.html">Introduction</a></b></p>

<p><b><a href="about me.html">About me</a></b></p>

<p><b><a href="contact.html">Contact</a></b></p>
<p><b><a href="about_ me.html">About me</a></b></p>

No spaces are allowed in the file names of web pages.
A student uploaded all of his digital portfolio files, including a picture named "tiger.jpg", to the LSU web server. He put all the files in the same directory called "portfolio'. The main web page, index.html, was supposed to display tiger.jpg" picture while viewed in a web browser, but it did not. Find and correct mistakes in the following xhtml tag defining the picture:

<img src="Pictures/tiger.jpg" alt="tiger" width="200" height="300" />
<img src="tiger.jpg" alt="tiger" width="200" height="300" />

A picture definition inside the index.html file can not include any directory name.
A student uploaded all of his digital portfolio files, including the home web page "index.html" to the LSU web server using TigerBytes II. He put all the files in the same directory on the webserver called "Portfolio'. His PAWS id was mtobe2. The following URL showed "File Not Found" message in the web browser window. Explain how to correct the problem.

http://my.lsu.edu/mtobe2/portfolio
Logon on to TigerBytes II and rename the "Portfolio" directory there to "portfolio" (all lowercase)
Show how to correct the following code segment, so they will contain the valid XHTML code.

<img src="flower.gif" alt="my flower" width="270" height="93" >
<img src="flower.gif" alt="my flower" width="270" height="93" />
Show how to correct the following code segment, so they will contain the valid XHTML code.

<p> My first homework assignment<br>
was easy.
<p> My second homework assignment<br>
was not so easy.
<p> My first homework assignment<br />
was easy.</p>
<p> My second homework assignment<br />
was not so easy.</p>
Show how to correct the following code segment, so they will contain the valid XHTML code.

<hr width="30%" size="1" noshade align="center" >
<hr width="30%" size="1" noshade align="center" / >
Show how to correct the following code segment, so they will contain the valid XHTML code.

<TITLE>This is the title of my web page</TITLE>
<title>This is the title of my web page</title>
Show how to correct the following code segment, so they will contain the valid XHTML code.

<ul>
<li> line1
<li>line2
<li>line3
</ul>
<ul>
<li> line1</li>
<li>line2</li>
<li>line3</li>
</ul>
Show how to correct the following code segment, so they will contain the valid XHTML code.

<body link=#990000 vlink=#cccccc alink=#ff0000 bgcolor=#cccc99>
<body link="#990000" vlink="#cccccc" alink="#ff0000" bgcolor="#cccc99">
What components of a web page are contained directly in the HTML document?

1. Images
2. HTML codes
3. Links to other files
4. Text
5. Sounds
2. HTML codes
3. Links to other files
4. Text
Correct the code below, so it will correctly define a table of two rows and one column:

<table border="1" width=500" bgcolor="#66ccff">
<td>
First row
</td>
<tr>
Second row
</tr>
</table>
<table border="1" width=500" bgcolor="#66ccff">
<tr>
<td>
First row
</td>
</tr>
<tr>
<td>
Second row
</td>
</tr>
</table>
How many rows and columns are defined by the following table definition:

<table border="1" width="100%" bgcolor="#66ccff">
<tr>
<td width="50%">
If you look at the source code
</td>
<td width="50%">
for any webpage,
</td>
</tr>
<tr>
<td width="50%">
you'll notice
</td>
<td width="50%">
different HTML commands
</td>
</tr>
<tr>
<td width="50%">
interspersed all
</td>
<td width="50%">
through the document.
</td>
</tr>
</table>
3 rows and 2 columns
Show a missing tag in the following XHTML code segment:

<table border="1" cellpadding="15" cellspacing="0" align="center">
<tr>
<td>
This is a centered table
</tr>
</table>
<table border="1" cellpadding="15" cellspacing="0" align="center">
<tr>
<td>
This is a centered table
</td>
</tr>
</table>
Show and correct errors in the XHTML segment below:

<h2>
<div align="center">
This is an interesting
heading
</h2>
</div>
<h2>
<div align="center">
This is an interesting
heading
</div>
</h2>
Show and correct errors in the XHTML segment below:

<div align="center">
<font color="#29003e" >
<b>
My Important Stuff
</b>
</div>
</font>
<div align="center">
<font color="#29003e" >
<b>
My Important Stuff
</b>
</font>
</div>
Insert a missing XHTML tag in the code below:

<li>greed</li>
<li>hatred</li>
<li>ignorance</li>
</ul>
<ul>
<li>greed</li>
<li>hatred</li>
<li>ignorance</li>
</ul>
Show a valid XHTML code to place the following text inside a one cell table:

<p>This is a centered table with a thin border.</p>
<table>
<tr>
<td>
<p>This is a centered table with a thin border.</p>
</td>
</tr>
</table>
Show how the following xhtml segment will exactly be displayed in a web browser window:

a.
<p>
This is my personal story<br/>
about<br/>
my years in college.
</p>
This is my personal story
about
my years in college.
Show how the following xhtml segment will exactly be displayed in a web browser window:
<p>
This is my personal story
about

my years in college.
</p>
This is my personal story about my years in college.
Insert missing XHTML tags in the code below:

<table border="0" cellspacing="0" cellpadding="15" bgcolor="#ffcc00" align="center">
<td>
This is a one cell table with <br />
a dark yellow background<br />
and no border
</td>
</table>
<table border="0" cellspacing="0" cellpadding="15" bgcolor="#ffcc00" align="center">
<tr>
<td>
This is a one cell table with <br />
a dark yellow background<br />
and no border
</td>
</tr>
</table>
Show how to correct the xhtml code below:

<table border="0" cellspacing="0" cellpadding="15" bgcolor="#ffcc00" align="center">
<tr>
<p>nice paragraph</p>
<td>
This is a one cell table with <br/>
a dark yellow background<br/>
and no border
</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="15" bgcolor="#ffcc00" align="center">
<tr>
<td>
<p>nice paragraph</p>
This is a one cell table with <br/>
a dark yellow background<br/>
and no border
</td>
</tr>
</table>
Show how to correct the xhtml code below:

<table border="0" cellspacing="0" cellpadding="15" bgcolor="#ffcc00" align="center">
<h1>nice paragraph</h1>
<tr>
<td>
This is a one cell table with <br/>
a dark yellow background<br/>
and no border
</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="15" bgcolor="#ffcc00" align="center">
<tr>
<td>
<h1>nice paragraph</h1>
This is a one cell table with <br/>
a dark yellow background<br/>
and no border
</td>
</tr>
</table>
The following is a two column table. Show how to change the background color of the first column to yellow (#ffff00), and the background of the second column to blue (#0000ff). Use the "bgcolor" parameter. The background of the whole table has been set to white (#ffffff).

<table width="250" border="1" bgcolor="#ffffff" cellpadding="15" cellspacing="0" align= "center">
<tr>
<td>This is a centered two column table with a thin border, and two background colors
</td>
<td><div align="center">
<img src="swamp1.jpg" width="115" height="88" border="1" alt="swamp" /></div>
</td>
</tr>
</table>
<table width="250" border=1 bgcolor="#ffffff" cellpadding="15" cellspacing="0" align="center">
<tr>
<td bgcolor="#ffff00">This is a centered two column table with a thin border, and two background colors
</td>
<td bgcolor="#0000ff"><div align="center">
<img src="swamp1.jpg" width="115" height="88" border="1" alt="swamp" /></div>
</td>
</tr>
</table>
The following absolute URL ends in a trailing forward slash with no file name:

http://xythos.lsu.edu/users/asmit5/portfolio/

Show an equivalent absolute URL to the one above which shows the file name it refers to.
http://xythos.lsu.edu/users/asmit5/portfolio/index.html
Correct a mistake in the link below. The link exists in a file called index.html and refers to a file letter2.html. Both files index.html and letter2.html reside in the same directory.

<a href="letters/letter2.html">Letter #2</a>
<a href="letter2.html">Letter #2</a>
An index.html document contains the following "img" tag:

<img src="images/flower.jpg" width="250" height="180" alt="flower"/>

Both files, index.html and flower.jpg reside in the same directory on the web server. Correct the above "img" tag, so when index.html is displayed in a web browser, it does not show the broken image icon.
<img src="flower.jpg" width="250" height="180" alt="flower"/>
Show which part of the following code is inserted in a wrong place?
Show how this error could be corrected.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>
Title: bulleted list
</title>
<h1>My bulleted list</h1>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#ffffff">
<p></p>
<ul>
<li> This is the first item in an ordered list. </li>
<li>> This is the second item in an ordered list. </li>
<li> This is the third item in an ordered list. </li>
</ul>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>
Title: bulleted list
</title>

<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#ffffff">
<p></p>
<h1>My bulleted list</h1>
<ul>
<li> This is the first item in an ordered list. </li>
<li>> This is the second item in an ordered list. </li>
<li> This is the third item in an ordered list. </li>
</ul>
</body>
</html>