Solutions
*Answers are marked in Bold and Underline.
1.
The form contains a single button that will attempt to submit the form when
clicked. – yes.
Other options -no.
2.
< form action="doCust.php" method="POST">
Sale Ends:
< input type="text” value="July 4th" placeholder>
<br>
< label>New Customer</label>
< input type:" radio" name="isNew” value:" True" >
< label >Existing Customer</label>
< input type="radio" name="isNew” value:" False" >
<br><br>
input type="button" value="Submit">
< / form >
3.
4.
<html>
<body>
<ul>
<ul>Storage</ul>
</ul>
</body>
</html>
5.
<a href=”#answers”>Go to Answer</a>
<p>In 10 year, James will l be twice the age of his younger sister. James's
sister is 4. How old is James?
</p>
<p>
Second question goes here
</p>
<p>
Third question goes here
</p>
<br>
<br>
<h3 id=“answers”>
<p>
The answer to the question is 18.
</p>
<p>
Second
</p>
<p>
Third Answer
</p>
6.
article -Displays a blog entry.
aside -Displays comments about the blog entry.
nav -Displays hyperlinks to related information on an external site.
7.
<nav>
<a href=”climbing.html”>climbing</a>
<a href=”Supplies.html”> Supplies </a>
<a href=”Safety.html”>precaution</a>
<a href=”tips.html”> tips </a>
</nav>
<heading>climbing mt.Everest</heading>
<figure>
<img src=”Everest.jpg”alt=”mt.Everest”width=”400”height=”250”>
</ figure >
8.
The following element uses a relative file path:
<img src="https://www.adventureworks.com/dog.jpg- aIt="Beag1e puppy">
- No.
The web browser wiIl look in the same directory as the HTML document when
rendering the following element:
<img src="dog.jpg" alt="Beagle puppy">
- Yes.
The following element uses an absolute file path to a jpg in the photos
subfolder:
<img src="photos/dog.jpg" alt="Beagle puppy">
- No.
9.
<ol>
<li>
Learning HTML
<li>
<ol type=”a”>
<li>Basic Elements </li>
<li>
Learning Css
</li>
</li>
10.
The opentng and ctosjng tags for TAGI should be:
-<tr></tr>
The open.ng and clostng tags for TAG2 should be:
-<th></th>
The opening and ct05ino tags for TAG3 should be:
-<td></td>
11.
12.
13.
A relative link requires that you use a protocol and server path
- No.
You can link to a documents in a subdirectory Of the current webpage by
specifyinq only the subdirectory name and the filename.
- Yes.
You can use a relative link to reference image from a repository on a different
server.
The following is an example of how you format an absolute link:
https://www.contoso.com/products.html.
- No.
14.
<!--Revision I on July 24,2017--->
15.
<html>
<head>
<title>WORLD WIDE IMPORTERS</title>
</head>
<body>
<h1>INVENTORY</h1>
</body>
</html>
16.
<head>
<title>Tailspin toys</title>
<meta charset=”utf-8”>
<meta name=”viewport” Contents=”width=device-width,initial-scale=1”>
<meta name=”keywords” Contents=”toys, game, puzzles, electronics,
video games, Tailspin Toys”>
17.
<html lang=”en”>
<meta charset=”UTF-8”>
<meta Name=”keyword” content=HTML,HTML help”>
</html>
18.
<!DOCTYPE html>
<html>
<head>
<title>tailspin toys</title>
</head>
</html>
19.
<video width=”320” height=”240” control>
<source type=”video/AWpromo.mp4” type=”video/mp4” >
<video src=”AWpromo.mp4 type=”video/webm”>
20.
No Change is needed.
21.
What text will be display as the image loads?
- Carnations.
What text will be display as tool tip?
- Carnations.
Where must the image file be located?
- In the same folder as html page.
22.
<img src=”companylogo.jpg” alt=”adventure work” width=”100”
height=”50” >
23.
used to secure and graphics
- Yes.
Enlarging an image rendered by element can decrease its quality.
- Yes
SVG content can be created or with any text editor.
- Yes
24.
.main
25.
You should specify a margin for each element
-No.
following a correct CSS comment:
// Stylize the #header
-No.
It is best practice to set the font-family attribute in an html or body selector
-No.
Pixels (PX) more precision and a better visual connection between the
value and actual result than em.
-Yes.
26.
The browser default style will be used.
27.
Text-decoration
28.
.keyitems {
Color: Green;
text-weight: Bold;
text-decoration: Underline;
}
29.
.img
{
width: 200px;
height: 300px;
float: Left;
margin-left: 10px;
}