html Flashcards
html tags use and quizes (26 cards)
What does HTML stand for?
HyperText Markup Language
True or False: HTML is a programming language.
False
What is the purpose of the <head> tag in HTML?
To contain meta-information about the HTML document.
Fill in the blank: The <body> tag in HTML is used to define the ______ of the document.
content
Which HTML tag is used to create a hyperlink?
<a></a>
Multiple Choice: Which of the following is NOT a valid HTML tag?
<link></link>
What is the purpose of the <img></img> tag?
To embed images in an HTML document.
True or False: The <div> tag is a block-level element.
True
What attribute is used to specify the destination URL of a link?
href
Fill in the blank: The <title> tag is placed within the \_\_\_\_\_\_ tag.</title>
<head>
</head>
What does the <form> tag do?
It creates an interactive form for user input.
Multiple Choice: Which of the following tags is used for creating a list?
<ul>, <ol>, <li>
</li></ol></ul>
Short Answer: How do you link a CSS file to an HTML document?
Using the <link></link> tag with rel=’stylesheet’ in the <head> section.
What protocol is commonly used to transfer HTML documents?
HTTP (HyperText Transfer Protocol)
True or False: HTML5 introduced new semantic elements.
True
Fill in the blank: The <header> tag is used to define the ______ of a document.
header
Which HTML tag is used to create a table?
<table>
</table>
What is the purpose of the
tag?
To embed or reference JavaScript code.
Multiple Choice: Which of the following is a self-closing tag?
<br></br>
Short Answer: How can you embed a JavaScript file in an HTML document?
Using the
tag with the src attribute.
What is the role of the <meta></meta> tag?
To provide metadata about the HTML document.
True or False: The <footer> tag is used for the bottom section of a document.
True
Fill in the blank: The <section> tag is used to define a ______ in a document.
section
What does the acronym DOM stand for in web development?
Document Object Model