Quiz
WebAppPrepTest1
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 (57)
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
3 Which of the statements are true?
- AXHTML and SGML are both subsets of HTML
- BXHTML is a subset of SGML
- CSGML is a subset of XHTML
- DSGML is a simplified version of XHTML
4An external JavaScript must contain the <script> tag
- ATrue
- BFalse
5 In CSS, what is a definition of fonts, colors, etc. called ?
- AFont-family
- BID Tag
- CStyle
- DNone of the above
6 What does the term XHTML stand for?
- AX-function of HTML
- BEx Hyper Text Markup Language
- CExtensible Hypertext Markup Language
- DExtensible Hype Manditory Learning
7 The DOCTYPE declaration has no closing tag
- ATrue
- BFalse
8 What are the different DTDs in XHTML?
- AStrict, Transitional, Loose, Frameset
- BStrict, Transitional, Frameset
- CStrict, Transitional, Loose
- DStrict, Transform , Frame
9 XHTML will work best if it is Validated ?
- AIt is not always best to validate XHTML
- BThe statment is false
- CThis is a true statement
- DXHTML is not validated
10What is the correct HTML for making a text input field?
- A<input type="text" />
- B<input type="textfield" />
- C<textfield>
- D<textinput type="text" />
11Which of the following is an important way of making sure your scripts will work with future browsers?
- 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
12In writing XHTML ...
- AAttributes do not have quotes for their value
- BAll attributes values require quotes
- CAll values require attributes
- DXHTML syntax can be lose 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 simular 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?
- Aa. XHTML is more advanced than HTML
- Bb. HTML and XHTML are both the same language
- Cc. XML and XHTML are written in the same manner
- Dd. HTML will load faster than XHTML in most cases
17
What 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">
18
Which statement makes the least sense? (Note : Reference to HTML means current HTML5)- 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 in it current form
19Which of the following is the right use of the lang attribute?
- A<div language="en">Hello World!</div>
- B<div lang="en" xml:lang="en">Hello World!</div>
- C<div xml:language="en">Hello World!</div>
- DNone of teh above
20What is the correct HTML tag for inserting a line break?
- A<lb />
- B<br />
- C<break />
- D<line break />
21 All XHTML tags and attributes must be in lower case.
- ATrue
- BFalse
22
Where 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
23
What is the correct HTML for making a text area?- A<input type="textarea" />
- B<input type="textbox" />
- C<textarea>
- D<input ="textarea" />
24
Who is making the Web standards- AThe World Wide Web Consortium
- BMozilla
- CMicrosoft
- DWorld Wide Web Community
25 Which elements are mandatory in an XHTML document?
- Adoctype, html and body
- Bdoctype, html, head, body, and title
- Cdoctype, html, head, and body
- DOnly doctype
26 How 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
28 Choose 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">
30 How 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
31
All XHTML documents require a doctype.- ATrue
- BFalse
32Which of the following tag represents the header of a section in HTML5?
- Asection
- Barticle
- Caside
- Dheader
33Which of the following is NOT a valid CSS selector ?
- AID selectors
- BType selectors
- CClass selectors
- DHEAD selectors
34 What is the correct HTML for making a checkbox?
- A<input type="checkbox" />
- B<check>
- C<input type="check" />
- D<input = "check">
35
Choose 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>
36 Choose 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"
38
What is the DTD?- AA method tied to an object
- BA Detrimental Transitional Development
- CThe Document Type Definition
- DThe Difinitive Type Definition
39Netscape and Internet Explorer supports 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>
41 What 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 />
42 What is the correct XHTML for an attribute and its value?
- AWIDTH="80"
- Bwidth="80"
- Cwidth=80
- DWidth=80
43 What 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
45 How can you make a list that lists the items with bullets?
- A<list>
- B<dl>
- C<ul>
- D<ol>
46 Which 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
47
Which of the following attribute is used to group elements?- Aitem
- Bitemprop
- Citemgroup
- Ditemcheck
48
CSS can be defined for entire sites by simply writing the CSS definitions where ?- APlain Text document
- BHead section of each page
49 Which of these tags are all <table> tags?
- A<table><tr><tt>
- B<table><tr><td>
- C<thead><body><tr>
- D<table><head><tfoot>
50
The 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>
52
How can you make a list that lists the items with numbers?- A<ol>
- B<dl>
- C<ul>
- D<list>
53 For 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
54
What 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>
55
Inside which HTML element do we put the JavaScript?- A<javascript>
- B<script>
- C<js>
- D<scripting>
56 How do you write "Hello World" in an alert box?
- Aalert("Hello World")
- BmsgBox("Hello World")
- CalertBox("Hello World")
- DalertBox="Hello World"
57 What is the correct HTML for adding a background color?
- A<background>yellow</background>
- B<body style="background-color:yellow">
- C<body background="yellow">
- D<bg> color:yellow </bg>
Information
- Description
- Quiz on WebAppPrepTest1, created by Eric Booker on 10/12/2018.
- Author
- Eric Booker
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz