- What does HTML stand for?
- Hyperlinks and Text Markup Language [Incorrect]
- Hyper Text Markup Language [Correct!]
- Home Tool Markup Language [Incorrect]
- Hyper Text Manipulation Language [Incorrect]
- Choose the correct HTML tag for the largest heading.
- <heading> [This is not a valid tag]
- <h1> [Correct!]
- <header> [This is a document section]
- <h6> [This is the smallest heading]
- Which of these is a properly formatted link?
- <a link=“www.google.com”>Link</a> [Incorrect]
- <a href=“www.google.com”/> [Incorrect]
- <link location=“www.google.com”>Link</a> [Incorrect]
- <a href=“www.google.com”>Link</a> [Correct!]
- How can you open a link in a new tab/browser window?
- <a href=“url” target=“_blank”> [Correct!]
- <a href=“url” target=“new”> [Incorrect]
- <a href=“url” new> [Incorrect]
- Which doctype is correct for HTML5?
- <!DOCTYPE HTML5> [Incorrect]
- <!DOCTYPE html> [Correct!]
- <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 5.0//EN” “http://www.w3.org/TR/html5/strict.dtd”> [Incorrect]
- What is the correct HTML for making a drop-down list?
- <select> [Correct!]
- <input type=“dropdown”> [Incorrect]
- <input type=“list”> [Incorrect]
- <list> [Incorrect]
- Which of the following is correct?
- HTML is used for exchanging data, XML is not. [Incorrect]
- XML is used for exchanging data, HTML is not. [Correct!]
- HTML can have user defined tags, XML cannot. [Incorrect]
- Both b and c above. [Incorrect]
- What is the correct HTML5 element for playing video files?
- <movie> [Incorrect]
- <video> [Correct!]
- <source> [Incorrect]
- None of the above [Incorrect]
- What is the correct HTML for inserting an image?
- <img src=“image.gif” alt=“MyImage”> [Correct!]
- <image src=“image.gif” alt=“MyImage”> [Incorrect]
- <img href=“image.gif” alt=“MyImage”> [Incorrect]
- <img alt=“MyImage”>image.gif</img> [Incorrect]
- The <canvas> element in HTML5 is used to:
- Display database records [This is possible, but not the main purpose]
- Manipulate data in MySQL [Incorrect]
- Create draggable elements [This is possible, but not the main purpose]
- Draw graphics [Correct!]
- In HTML5, which attribute is used to specify that an input field must be filled out?
- Formvalidate [Incorrect]
- Validate [Incorrect]
- placeholder [Incorrect]
- required [Correct!]
- Which HTML5 element is used to display a measurement within a fixed range?
- <gauge> [Incorrect]
- <range> [Correct!]
- <measure> [Incorrect]
- <meter> [Incorrect]
- What does CSS stand for?
- Cross-site scripting [Incorrect]
- Cascading Style Sheets [Correct!]
- Creative style sheets [Incorrect]
- Compiled site styles [Incorrect]
- Given the following, what value does the left margin have?: margin: 10px 5px 20px 15px;
- 10px [This is the top]
- 5px [This is the right side]
- 20px [This is the bottom]
- 15px [Correct!]
- Which style rule overrides the other?
- Class [Incorrect]
- Id [Correct!]
- What property creates space between HTML elements?
- Margin [Correct!]
- Padding [This is inside an element]
- Spacing [This is between text]
- Float [Incorrect]
- What property creates space within an element?
- Margin [This is between elements]
- Padding [Correct!]
- Spacing [This is between text]
- Float [Incorrect]
- Which set of tags are used to define CSS within the page?
- <style type=“css”></style> [Correct!]
- <class type=“text/css”></class> [Incorrect]
- <inline css></inline> [Incorrect]
- None of the above [Incorrect]
- Which of these is the correct way to define a hover state for an anchor tag?
- :onHover [Correct!]
- :mouseOver [Incorrect]
- :hover [Incorrect]
- None of These [Incorrect]
- Which property of a position rule will force content to a position regardless of other elements?
- Fixed [Incorrect]
- Absolute [Correct!]
- Relative [Incorrect]
- Strict [Incorrect]
- Responsive styling allows us to support many devices with one style sheet.
- True [Correct!]
- False [Incorrect]
- Which of the following is the best fit for defining styles on small mobile devices?
- @media only screen and (max-width: 479p [Correct!]
- @media only screen and (max-width: 769p [This is best for tablets]
- @media only screen and (max-width: 120p [This is very small!]