Quiz
Prep Test 1
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (56)
1In CSS, you have the following options for changing text color
- ACommon name and Hexcolor only
- BCommon name, RBG value, hexcolor
- CHexcolor only
2What does HTMl stand for
- AHome Tool Markup Language
- BHyperlinks and Text Markup Language
- CHyper Text Markup Language
- DHyper Text Making Language
3Which of the statements are true?
- AXHTML and SGML are both subsets of HTML
- BXHTML is a subset of SGML
- CSGML is a subset of XML
- DSGML is a simplified version of XHTML
4An external Javascript must contain the <script> tag
- ATrue
- BFalse
5In CSS, what is a definition of fonts, color, etc. called?
- AFont-family
- BID Tag
- CStyle
- DNone of the above
6What does the term XHTML stand for?
- AX-function of HTML
- BEx Hyper Text Markup Language
- CExtensible Hypertext Markup Language
- DExtensible Hype Mandatory Learning
7The DOCTYPE declaration has no closing tag.
- ATrue
- BFalse
8What are the different DTDs in XHTML?
- AStrict, Transitional, Loose, Frameset
- BStrict, Transitional, Frameset
- CStrict, Transitional, Loose
- DStrict, Transform, Frame
9What is the correct HTML for making a text input field?
- A<input type="text"/>
- B<input type="textfield"/>
- C<textfield>
- D<textinput type="text"/>
10Which of the following is an important way of making sure your scripts will work with future browser?
- AFollow HTML, JavaScript, and DOM standards
- BSpend an hour a day downloading the newest browsers and testing your scripts
- CWait until the very last browsers are released before writing any scripts
- DAll of these
11XHTML will work best if its validated?
- AIt is not always best to validate XHTML
- BThe statement is false
- CThis is a true statement
- DXHTML is not validated
12In writing XHTML....
- AAttributes do not have quotes for their values
- BAll attribute values require quotes
- CAll values require attributes
- DHXTML syntax can be loose like HTML
13Choose the correct HTML tag to make a text italic
- A<i>
- B<italic>
- C<it>
- D<ital>
14In writing XHTML...
- AThe opening and closing tags should start and end with XHTML
- BThe end tags of the <img> tag should be left open
- CUppercase letters should not be used between the opening and closing tags
- DThe DOCTYPE declaration should have a closing tag similar to the img tag or the meta tag
15What is the correct HTML for making a drop-down list?
- A<list>
- B<input type="dropdown"/>
- C<select>
- D<input type="list"/>
16What statement makes the most sense?
- AXHTML is more advanced than HTML
- BHTML and XHTML are both the same language
- CXML and XHTML are written in the same manner
- DHTML will load faster than XHTML in most cases
17What is the correct syntax for referring to an external script called "xxx.js"
- A<script href="xxx.js">
- B<script src="xxx.js">
- C<script name="xxx.js">
- D<script="xxx.js">
18Which statement makes the least sense?
- AHTML which is a replacement for XHTML1 will still be the choice of most professional web developers for many years to come
- BXHTML will replace most of the HTML pages on the internet
- CXHTML is a replacement for HTML
- DHTML causes a lot of problems on the internet it its current form
19Which of the following is the right use of the lang attribute?
- A<div lang="en" xml:lang="en">Hello World</div>
- B<div xml:language="en">Hello World!</div>
- C<div language="en">Hello World!</div>
- DNone of the above
20What is the correct HTML tag for inserting a line break?
- A<lb />
- B<br />
- C<break />
- D<line break />
21All XHTML tags and attributes must be in lower case
- ATrue
- BFalse
22Where is the correct place to insert a JavaScript?
- ABoth the <head> section and the <body> section are correct
- BThe <head> section
- CThe <body> section
- DNone of the above
23What is the correct HTML for making a text area?
- A<input type="textarea" />
- B<input type="textbox />
- C<textarea>
- D<input ="textarea" />
24Who is making the Web standards
- AMozilla
- BMicrosoft
- CThe World Wide Web Consortium
- DWorld Wide Web Community
25Which elements are mandatory in an XHTML document?
- Adoctype, html, and body
- Bdoctype, html, head, body, and title
- Cdoctype, html, head, and body
- Donly doctype
26How can you open a link in a new browser window
- A<a href="url" target="new">
- B<a href="url" target="_blank">
- C<a href="url" new>
- D<href="url" target="_blank">
27All elements in XHTML must be closed.
- ATrue
- BFalse
28Choose the correct HTML tag for the largest heading
- A<h6>
- B<h1>
- C<head>
- D<heading>
29What is the correct HTML for inserting a background image?
- A<body background="background.gif">
- B<img src="background.gif" background/>
- C<background img="background.gif">
- D<img="background.gif">
30How can you create an e-mail link?
- A<a href="xxx@yyy">
- B<a href="mailto:xxx@yyy">
- C<mail href="xxx@yyy">
- Dxxx@yyy
31All XHTML documents require a doctype
- ATrue
- BFalse
32Which of the following is NOT a valid CSS selector?
- A<input type="checkbox"/>
- B<check>
- C<input type="check"/>
- D<input="check">
33Which tag represents the header of a section of HTML5?
- Asection
- Barticle
- Caside
- Dheader
34What is the correct HTML for making a checkbox?
- A<input type="checkbox"/>
- B<check>
- C<input type="check"/>
- D<input ="check">
35Choose the correct HTML to left-align the content inside a tablecell
- A<td style="text-align:left">
- B<tdleft>
- C<td valign="left">
- D<td leftalign>
36Choose the correct HTML tag to make a text bold
- A<bold>
- B<b>
- C<bld>
- D<bd>
37What is the correct JavaScript syntax to write "Hello World"?
- A("Hello World")
- Bdocument.write("Hello World")
- Cresponse.write("Hello World")
- D"Hello World"
38What is the DTD?
- AA method tied to an object
- BA Detrimental Transitional Development
- CThe Document Type Definition
- DThe Definitive Type Definition
39Netscape and IE support CSS in which way?
- AExact same, since CSS is a cross browser standard by W3C
- BVery different on older browsers, closer to the same on newer
- CNone of the above
40What XHTML code is "well-formed"?
- A<p>A <b><i>short</b></i> paragraph</p>
- B<p>A <b><i>short</i></b> paragraph</p>
- C<p>A <b><i>short</i></b> paragraph</P>
- D<p><A> <b><i>short</i></b> paragraph</P>
41What is the correct HTML for inserting an image?
- A<image src="image.gif" />
- B<img src="image.gif" />
- C<img>image.gif</img>
- D<img href="image.gif />
42What is the correct XHTML for an attribute and its value?
- AWIDTH="80"
- Bwidth="80"
- Cwidth=80
- DWidth=80
43What is a correct XHTML tag for a line break?
- A<br>
- B<break/>
- C<br >
- D<br />
44Which of the following is the latest DOM recommendation from the W3C?
- ADOM 1.5
- BDOM level 1
- CDOM level 2
- DNone of the above
45How can you make a list that lists the items with bullets?
- A<list>
- B<dl>
- C<ul>
- D<ol>
46Which of the statements are false?
- AXHTML documents are not parsed in the browser before display
- BXHTML is parsed with a DTD
- CThe Doctype Declaration indicates to the parser which DTD to use
- DXHTML syntax needs to be well formed
47Which of the following attribute is used to group elements?
- Aitem
- Bitemprop
- Citemgroup
- Ditemcheck
48CSS can be defined for entire sites by simply writing the CSS definitions where ?
- APlain Text document
- BHead section of each page
49Which of these tags are all <table> tags?
- A<table><tr><tt>
- B<table><tr><td>
- C<thead><body><tr>
- D<table><head><tfoot>
50The DOM presents an HTML document as a
- AHash table structure
- BDynamic structure
- CTree-structure
- DAll of these
51What is the correct XHTML for a paragraph?
- A<P></p>
- B<P></P>
- C<p></p>
- D</p><p>
52How can you make a list that lists the items with numbers?
- A<ol>
- B<dl>
- C<ul>
- D<list>
53For XHTML to function properly?
- AThe code should be written in uppercase letters
- BThe XHTML document should be valid and well formed
- CAll end tags should be left open
- DYou require a special type of browser
54What is the correct HTML for creating a hyperlink?
- A<a>http://www.w3schools.com</a>
- B<a url="http://www.w3schools.com">W3Schools.com</a>
- C<a name="http://www.w3schools.com">W3Schools.com</a>
- D<a href="http://www.w3schools.com">W3Schools</a>
55Inside which HTML element do we put the JavaScript?
- A<javascript>
- B<script>
- C<js>
- D<scripting>
56How do you write "Hello World" in an alert box?
- Aalert("Hello World")
- BmsgBox("Hello World")
- CalertBox("Hello World")
- DalertBox("Hello World"
Information
- Description
- Quiz on Prep Test 1, created by Eric Booker on 08/10/2018.
- Author
- Eric Booker
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz