Home

HTML Online Question

What does HTML stand for? (A) Hyper Text Markup Language (B) Home Tool Markup Language (C) Hyperlinks and Text Markup Language

Who is making the Web standards? (A) Mozilla (B) The World Wide Web Consortium (C) Google (D) Microsoft

Choose the correct HTML element for the largest heading: (A) <h6> (B) <h1> (C) <head> (D) <heading>

What is the correct HTML element for inserting a line break? (A) <br> (B) <break> (C) <lb>

What is the correct HTML for adding a background color? (A) <body style="background-color:yellow;"> (B) <background>yellow</background> (C) <body bg="yellow">

Choose the correct HTML element to define important text (A) <i> (B) <b> (C) <important> (D) <strong>

Choose the correct HTML element to define emphasized text (A) <i> (B) <em> (C) <italic>

What is the correct HTML for creating a hyperlink? (A) <a name="http://www.myclasss.com">myclasss.com</a> (B) <a href="http://www.myclasss.com">myclasss</a> (C) <a>http://www.myclasss.com</a> (D) <a url="http://www.myclasss.com">myclasss.com</a>

Which character is used to indicate an end tag? (A) < (B) / (C) * (D) ^

How can you open a link in a new tab/browser window? (A) <a href="url" target="new"> (B) <a href="url" target="_blank"> (C) <a href="url" new>

HTML Online Question

Which of these elements are all <table> elements? (A) <table><tr><tt> (B) <thead><body><tr> (C) <table><tr><td> (D) <table><head><tfoot>

Inline elements are normally displayed without starting a new line. (A) True (B) False

How can you make a numbered list? (A) <ul> (B) <dl> (C) <ol> (D) <list>

How can you make a bulleted list? (A) <ol> (B) <list> (C) <ul> (D) <dl>

What is the correct HTML for making a checkbox? (A) <checkbox> (B) <input type="check"> (C) <input type="checkbox"> (D) <check>

What is the correct HTML for making a text input field? (A) <textfield> (B) <textinput type="text"> (C) <input type="textfield"> (D) <input type="text">

What is the correct HTML for making a drop-down list? (A) <input type="dropdown"> (B) <select> (C) <input type="list"> (D) <list>

What is the correct HTML for making a text area? (A) <input type="textbox"> (B) <textarea> (C) <input type="textarea">

What is the correct HTML for inserting an image? (A) <img alt="MyImage">image.gif</img> (B) <image src="image.gif" alt="MyImage"> (C) <img src="image.gif" alt="MyImage"> (D) <img href="image.gif" alt="MyImage">

What is the correct HTML for inserting a background image? (A) <body style="background-image:url(background.gif)"> (B) <body bg="background.gif"> (C) <background img="background.gif">

HTML Online Question

An <iframe> is used to display a web page within a web page. (A) True (B) False (C) There is no such thing as an <iframe>

HTML comments start with <!-- and end with --> (A) True (B) False

Block elements are normally displayed without starting a new line. (A) False (B) True

Which HTML element defines the title of a document? (A) <meta> (B) <head> (C) <title>

Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed? (A) longdesc (B) title (C) alt (D) src

Which doctype is correct for HTML5? (A) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd"> (B) <!DOCTYPE HTML5> (C) <!DOCTYPE html>

Which HTML element is used to specify a footer for a document or section? (A) <section> (B) <footer> (C) <bottom>

In HTML, you can embed SVG elements directly into an HTML page. (A) True (B) False

What is the correct HTML element for playing video files? (A) <media> (B) <video> (C) <movie>

What is the correct HTML element for playing audio files? (A) <sound> (B) <audio> (C) <mp3>

HTML Online Question

The HTML global attribute, "contenteditable" is used to: (A) Update content from the server (B) Specify whether the content of an element should be editable or not (C) Return the position of the first found occurrence of content inside a string (D) Specifies a context menu for an element. The menu appears when a user right-clicks on the element

In HTML, onblur and onfocus are: (A) Style attributes (B) HTML elements (C) Event attributes

Graphics defined by SVG is in which format? (A) CSS (B) XML (C) HTML

The HTML <canvas> element is used to: (A) manipulate data in MySQL (B) display database records (C) draw graphics (D) create draggable elements

In HTML, which attribute is used to specify that an input field must be filled out? (A) required (B) formvalidate (C) validate (D) placeholder

Which input type defines a slider control? (A) range (B) controls (C) search (D) slider

Which HTML element is used to display a scalar measurement within a range? (A) <measure> (B) <range> (C) <gauge> (D) <meter>

Which HTML element defines navigation links? (A) <nav> (B) <navigate> (C) <navigation>

In HTML, what does the <aside> element define? (A) The ASCII character-set; to send information between computers on the Internet (B) Content aside from the page content (C) A navigation list to be shown at the left side of the page

Which HTML element is used to specify a header for a document or section? (A) <header> (B) <head> (C) <top> (D) <section>