HTML Flashcards
Basic HTML Codecademy (47 cards)
What does HTML stand for?
HyperText Markup Language
True or False: HTML is a programming language.
False
Fill in the blank: The basic structure of an HTML document starts with the _______ tag.
<!DOCTYPE html>
What is the purpose of the <head> tag in HTML?
To contain meta-information about the document.
Which tag is used to create a hyperlink?
<a></a>
What attribute is used to specify the URL of a link?
href
True or False: The <title> tag is placed inside the <body> tag.</title>
False
What is the function of the <body> tag?
To contain the visible content of the HTML document.
Which tag is used for creating a line break?
<br></br>
What does the <img></img> tag require to display an image?
The src attribute
What is the correct HTML element for inserting a line break?
<br></br>
Which tag is used to create an unordered list?
<ul>
</ul>
What is the purpose of the <meta></meta> tag?
To provide metadata about the HTML document.
True or False: HTML elements are case-sensitive.
False
What tag is used to create a table?
<table>
</table>
Which tag is used for the table header?
<th>
</th>
Fill in the blank: The _______ tag is used to create a form in HTML.
<form>
</form>
What attribute is used to specify the action of a form?
action
What is the default type of the <input></input> element?
text
Which tag is used for creating a dropdown list?
<select></select>
What do you use to create a checkbox in HTML?
<input></input>
True or False: The <footer> tag is used to define the footer of a document or section.
True
What is the purpose of the <div> tag?
To define a division or section in an HTML document.
Which tag is used to create a heading level 1?
<h1>
</h1>