Module 2 Flashcards
What the tag <meta></meta> is used for?
To provide information about the website. Author name, content, keywords for search engines.
Ex: <meta></meta>
What are called elements that are supposed to be placed between the opening <html> tag and the opening <body> tag?
Head elements.
What head elements can contain?
- Titles
- Scripts
- File attachments
- Character encoding
- Meta data
Meta elements can be used to: (select all that apply)
Describe pages
Note the author of the document
Provide keywords to help categorize the type of information in the content of the page
All are correct.
What is Embedded Content?
Content from another source that is included as part of a page, like a youtube video.
What are Body Elements?
The elements that goes inside the <body> tag.
Where we can define that the webpage uses UTF-8?
In the meta tag.
Ex: <meta></meta>
What is the Basic HTML Template?
<!DOCTYPE html>
<html>
<head>
<title> webpage title </title>
<meta></meta>
</head>
<body>
</body>
</html>
What the footer tag does?
Text that appears at the (foot) bottom of each page.
Typically contains: authorship information, terms and conditions, copyright information, contact information and links to a company’s social media accounts.
What the main tag is used for?
The elements that are the most important content of the <body> document.
How many main tag can be in a webpage?
Only one.
What are Attributes?
A word or phrase used inside an element’s opening tag that controls the element’s behavior.
Ex: <img src=+”https://www.petmd.com/sites…cat.jpg”>
Which one of the following are not contained within the structure of a basic HTML webpage?
- UTF-16
- <html> element
</html> - <!DOCTYPE html> declaration
- <title> element
</title>
- UTF-16
What is the Id attribute?
Short for identification, it specifies a unique and specific name ofr an HTML element.
Ex: <p id="paragraph">This is some text.</p>
Why an Id attribute is said to be unique and specific?
It is specific because you cannot name two different elements with the same name and is unique because one element can have only one name.