HTML&Css Quetion
HTML&Css Quetion
The user must not be able to modify the value in the Sale Ends field. When the user clicks the Submit button, the form must be
processed.
Answer area: -
< form action="doCust.php" method="POST">
Sale Ends:
< input type="text” value="July 4th" _____________>
<br>
< label>New Customer</label>
< input type:" __________" name="isNew value:" True" >
< label >Existing Customer</label>
< input type=" ___________" name="isNew value:" False" >
<br><br>
input type="__________"value="Submit">
< / form >
Option: -
Readonly
Radio
Submit
Placeholder
Checkbox
button
___________________
<dt>
<li>
<ol>
<ul>
_____________________
<dt>Storage</dt>
<li>Storage</li>
<ol>Storage</ol>
<ul>Storage</ul>
_____________________________
</dt>
</li>
</ol>
</ul>
</body>
</html>
5. You are designing a webpage that presents a sample intelligence test. It displays a few questions and their answers on the
page. You want to allow the user to tap or click a link to
immediately go to the answers section. The webpage is shown in the exhibit. (Click the Exhibit tab.)
You need to complete the markup to allow the user to navigate to the answer section correctly after clicking or tapping on the
Go TO Answers link
How should you complete the markup? To answer, select the appropriate markup segment in the answer area.
Answer area: -
<a _______="____________">Go to Answer</a>
class answers
href #answers
id
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 ___________="answers">
Class
id
target
The answer to the question is 18
</p>
<p>
Second
</p>
<p>
Third answers,
</p>
6.You are creating an HTML page that displays blog entries. You want to ensure that your page can be indexed appropriately by search
engines.
You need to use the appropriate semantic tags for areas on the page.
Which semantic tags should you use? TO answer, drag the appropriate semantic tag from the column on the left to its purpose on the
right. Each semantic tag may be used once, more
than once, or not at all.
NOTE• Each correct selection is worth one point.
7.You are creating an HTML that gives instructions for climbing Mt Everest.
You must create content that a browser renders according to its meaning. A portion Of the content is shown as follow:
<__________>
<a href=”climbing.html”>climbing</a>
<a href=”Safety.html”>precaution</a>
</____________>
<____________climbing mt.Everest</______________>
<_____________>
<img src=”Everest.jpg”alt=”mt.Everest”width=”400”height=”250”>
</_____________>
Option:-
Nav
Figure
Table
Header
Figcaption
8.For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Answer Area
Yes
The following element uses a relative file path: yes no
<img src="https://www.adventureworks.com/dog.jpg- aIt="Beag1e puppy">
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">
The following element uses an absolute file path to a jpg in the photos
subfolder:
<img src="photos/dog.jpg" alt="Beagle puppy">
9.You are creating an HTML page that displays a how-to guide. You want to display content in the folbwirg structure:
1. Learning HTML
a. Basic Elements
b.Semantic Elernents
2. Learning CSS
How should you complete the markup? To answer. drag the appropriate HTML tags to correct HTML tag locations. Each tag may be used
once. more than once. or not at all. You
may read to drag split bar between panes or scroll to view content
<_____>
<li>
Learning HTML
<_________type=”a”>
<li>Basic Elements </li>
</li>
<li>
Learning Css
</li>
</li>
Option:-
H1
H2
Li
Ol
Ul
10 .You ate creating a webpage that will display the following table
Food price
Cake $9.99
pie $8.99
You write the followir9 HTML Line numtH5 are for reference only
1.<table>
2.<TAG1>
3.<TAG2>FOOD</TAG2>
4.<TAG2>FOOD</TAG2>
5</TAG1>
6. <TAG1>
7 . <TAG3>CAKE</TAG3>
8. <TAG3>$9.99</TAG3>
9 </TAG1>
10 <TAG1>
11 . <TAG3>PIE</TAG3>
12 <TAG3>$8.99 </TAG3>
13 </TAG1>
14</TABLE>
You need to complete the markup. Use the drop-down menus to select the answer choice that completes each Statement based on the
information presented in the graphic.
13. For each of the following staternents, select Yes if the statement is true. Otherwise. select No
NOTE:-Each correct selection is worth ore point. Yes no
A relative link requires that you use a protocol and server path-
You can use a relative link to reference image from a repository on a different
server.
<HRAD>
<H1> INVENTRORY<H1>
</HTML>
<BODY>
</HEAD>
</BODY>
16. You are an intern at Tailspin Toys- to meta elements to a webpage to meet the following requirements
• You must identify terms that will help webpage stow up in search engines
• the string tailspin Toys online store should appear beneath the link in search engines.
• You must specify encoding and screen configuration.
How should you complete the markup? To answer. select the appropriate markup segments in the answer area.
NOTE: Each correct selection is worth point.
<head>
<title>Tailspin toys</title>
<meta _________=”utf-8”>
Option:
Name
Charset
http-equiv
<meta name=”viewport”_______________
Option:-
Contents=”width=device-width,initial-scale=1”>
<meta name=”keywords”_________________
Option:-
Contents=”width=device-width,initial-scale=1”>
Option:-
Charset
Lang
enctype
<meta______________=”UTF-8”>
Option:-
Charset
http-equiv
enctype
<meta______________________
Option:-
</html>
18. You are creating a homepage for Tailspin You need to determine which HTML elements will create a simple web page.
Which six HTML segments should you use to develop the solution? To answer. move appropriate HTML segments from the list of HTML
segments to the answer area and arrange them in correct order.
<h1>welcome to tailspin toys<h1>
<body><h1>welcome to tailspin toys </h1><p>Our new store on 1 main street is now open.</p></body>
</html>
<!DOCTYPE html>
<html>
</head>
<title> tailspin toys</title>
<head><title> tailspin toys</title>
19. You need to code a webpage that display a promotional video. The video is available in both mp4 and webm formats. The mp4 format
is given first priority. Tip media files are
stored in the video subfolder. The video should display in 320 x 240 with pause volume. and dosed captioning controls
How you complete the markup? TO answer. select the appropriate markup segments in the answer area.
NOTE Each correct selection is worth one point.
Option:-
Option:-
<source type=”video/mp4”>
Option:-
<source type=”video/mp4”>
</video>
20. This question require that you evaluate the underlined text to determine if it is correct.
You must display a logo on the right-side of a webpage. The logo must be compatible with screen readers. You write the following line of
markup.
<img src="Logo.png" style="width:100px; height:100; float:right">
In order the line Of markup to validate. you must add the closing img tag.
Review the underlined text If it makes statement correct. select 'No Change is needed."if statement is incorrect. select the answer choice
that makes statement
NO change is needed.
---------------- ------------------>
Height=”50” width=”50”
Height=”50em” width =”50em”
Height=”50 pixels width =”50 pixels”
24. You are building website and want to have three link called Home. Product Info Contact Us. You have assigned all of these elements to
a class called main.
You need to create a selector that applies to all three links.
Which selector should you use?
A. #main
B. .main
C. a#main
D. a[name=”main”]
36.You write the following markup. Line numbers are included fot reference only.
01 <!DOCTYPE thml>
02 <html>
03 <head>
04 <title>city power & light</title>
05 </head>
06 <body>
07 <p>welcome to city power & light</p>
08 </body>
09</html>
Text-overflow
Font-style
font -family
text-decoration
28. You are creating a webpage for the School Of Fine Arts. You display key terms green. bold. underlined text.
You need to create a style named
How should you complete the code? To answer. drag the appropriate CSS attribute to the correct position Each attribute may be used
once, more than once. or not at all You may
reed to drag the split bar between panes or scroll to view content
.keyteams{
____________Green;
______________Bold;
______________Underline;
Option: -
Text-decoration
Text-style
Text-Wight
Text-transform
Color;
Text-decoration-color;
29. You are creating stylesheet that specifies that all images must appear to the left of the left of their text The images should have a left
margin of 10 pixels, a width of 200 pixels and a height of
300 pixels
How should you complete the code? TO answer, drag the appropriate CSS property to correct locations Each property may be used once.
more than or not at all. You may
need to drag the split bar between panes or scroll to content.
.img
______200px;
____300px;
_______Left;
______10px;
Option:-
Width;
Float;
Height;
Margin;
Margin-left;
Line-height;
Min-width;