HTML Flashcards
(27 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 document, such as title and links to stylesheets.
Fill in the blank: The root element of an HTML document is the ____ tag.
<html>
</html>
Which tag is used to create a hyperlink?
<a></a>
What is the function of the <title> tag?</title>
To define the title of the document that appears in the browser’s title bar or tab.
Multiple choice: Which of the following is NOT a valid HTML tag? A) <div> B) <span> C) <text></text></span>
<text>
</text>
What tag is used to insert an image in HTML?
<img></img>
True or False: The <body> tag contains the content that is visible to users.
True
What attribute is used to specify the destination of a link in an <a> tag?</a>
href
Which tag is used to create an unordered list?
<ul>
</ul>
Fill in the blank: The <____> tag is used to define a section in a document.
section
What does the <br></br> tag do?
Inserts a line break.
Multiple choice: Which tag is used for the largest heading? A) <h1> B) <h6> C) <heading></heading>
<h1>
</h1>
What tag would you use to create a form?
<form>
</form>
True or False: The <meta></meta> tag can be used to define character set, keywords, and author information.
True
What is the purpose of the <footer> tag?
To define a footer for a document or section.
Fill in the blank: The <____> tag is used to create a table.
table
Which attribute would you use to specify an alternative text for an image?
alt
What tag is used for a block of code?
<pre>
</pre>
True or False: HTML tags are case-sensitive.
False
What is the purpose of the <link></link> tag?
To link external resources like stylesheets.
Multiple choice: Which tag is used for an ordered list? A) <ol> B) <list> C) <order></order></list>
<ol>
</ol>
What tag is used to define a navigation section?
<nav>
</nav>