HTML Exam Review True False Questions Short Answer Questions 1. True False In HTML, browsers usually reject documents that violate HTML syntax. 1. What does HTML stand for?Hyper-Text Markup Langauge 2. True False The strong element is a text-level element that marks strong or bold text. 2. How do you specify the document is written using standard HTML 5? <!DOCTYPE html> 3. True False A tooltip is descriptive text that appears whenever a user positions the mouse pointer over a link. 3. How do you view the source of the page? right-click -> view source 4. True False A control element that allows extended text entries is the text area element. 4. What should be the first line of all your HTML files? <!DOCTYPE html> 5. What HTML tag inserts a line break? <br /> 5. True False When the input tag is used to create radio buttons, the tag also creates labels for radio buttons. 6. True False Check boxes are selected by default. 7. True False Various Web browsers developed their own unique flavors of HTML to provide customers with new and useful features not available with other browsers. 8. True False Browsers usually accept HTML documents that violate HTML syntax as long as the violation is not too severe. 6. What HTML tag inserts a horizontal line? <hr /> 7. What two HTML tags format text bold? <strong> & <b> 8. Name the two HTML tags needed for creating numbered lists. <ol> & <li> 9. What HTML tags indicate the largest and smallest headings? <h1> & <h6> 10. Name two HTML tags that format text italic. <em> & <i> 11. Name two HTML tags for creating lists with bullets. <ul> & <li> 12. What attribute must be defined for radio buttons to work together as a unit? name Multiple Choice Questions 1. Who is making the Web standards? a. W3 Schools b. Microsoft c. Mozilla d. Google e. The World Wide Web Consortium f. Other: _______________________________ 2. Choose the correct HTML tag for the largest heading a. <h6> b. <h1> c. <head> d. <heading> e. Other: _______________________________ 3. Which of the following 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 href="http://www.w3schools.com" > W3Schools</a> d. <a name="http://www.w3schools.com" > W3Schools.com</a> 4. Which of the following is the correct HTML for inserting an image? a. <img>image.gif</img> b. <image>image.gif</image> c. <img href="image.gif /> d. <image href="image.gif" /> e. <img src="image.gif" /> f. <image src="image.gif" /> g. <img url="image.gif /> h. <image url="image.gif" /> 5. Which is the best method for opening a link in a new browser window? a. <a href="url" new> b. <a href="url" _blank> c. <a href="url" target="new"> d. <a href="url" target="_blank"> e. Other: _______________________________ 6. Which of these tags are all <table> tags? a. <table><tr><tt> b. <table><tr><td> c. <thead><body><tr> d. <table><head><tfoot> e. Other: _______________________________ 7. What is the correct HTML for making a text input field? a. <input type="textfield" /> b. <input type="text" /> c. <textinput type="text" /> d. <textfield> e. Other: _______________________________ 8. What is the correct HTML for making a dropdown list? a. <input type="dropdown" /> b. <input type="list" /> c. <list> d. <select> e. Other: _______________________________ 9. What is the correct HTML for making a text area? a. <input type="textarea" /> b. <textarea> c. <input type="textbox" /> d. <input type="text" /> e. Other: _______________________________ 10. What is the correct HTML for making a checkbox? a. <checkbox> b. <input type="check" /> c. <input type="checkbox" /> d. <check> e. Other: _______________________________ 11. What does HTML stand for? a. Hyperlinks and Text Markup Language b. Home Tool Markup Language c. Hyper Text Markup Language d. None of the above 12. What is the correct HTML tag for inserting a line break? a. <lb /> b. <br /> c. <break /> d. None of the above 13. What is the correct HTML for adding a background color? a. <body background="yellow"> b. <background>yellow</background> c. <body style="background-color:yellow"> d. None of the above 14. Choose the correct HTML tag to make a text bold a. <b> b. <bold> c. <heavy> d. None of the above 15. Choose the correct HTML tag to make a text italic a. <i> b. <italic> c. <slanted> d. None of the above 16. Choose the correct HTML to left-align the content inside a tablecell a. <td align="left"> b. <td valign="left"> c. <td leftalign> d. <tdleft> 17. How can you make a list that lists the items with numbers? a. <ol> b. <list> c. <ul> d. <dl> 18. How can you make a list that lists the items with bullets? a. <dl> b. <list> c. <ol> d. <ul> 19. What is the correct HTML for inserting a background image? a. <body background="background.gif"> b. <background img="background.gif"> c. <img src="background.gif" background /> d. None of the above 20. How can you create an e-mail link? a. <a href="xxx@yyy"> b. <mail href="xxx@yyy"> c. <mail>xxx@yyy</mail> d. <a href="mailto:xxx@yyy"> Examination Questions 1. Write html code to display the following list: 1. Alpha 2. Beta 3. Charlie <ol><li>Alpha</li><li>Beta </li><li>Charlie </li></ol> 2. Display the previous list with bullets. <ul><li>Alpha</li><li>Beta </li><li>Charlie </li></ul> 3. Give HTML code to format the following as a 2x2 table alpha one beta two <table><tr><td>alpha</td><td>one </td></tr><tr><td>beta </td><td>two </td></tr></table> 4. Write an complete HTML document that does the following: (a) Shows your last name on the browser tab (b) Shows your full name in large font at the head of the page (c) Shows the text “Hello World” in bold below that. (d) Shows a link to W3Schools on the following line. <!DOCTYPE html> <html> <head> <title>Yessick</title> </head> <body> <h1>Dr. Yessick</h1> <p><strong>Hello World</strong></p> <p><a href=’http://www.w3schools.com’> W3Schools</a></p> </body> </html>
© Copyright 2026 Paperzz