Full HTML Review Flashcards
What is the role of HTML?
Foundation of web structure
What are HTML elements used for?
Used to represent content on the page
What is a div element?
A generic HTML element that does not hold any semantic meaning
What are void elements?
Do not have a closing tag (e.g., <img></img>)
What are attributes in HTML?
Adding metadata and behavior to elements
What is the purpose of IDs in HTML?
Unique element identifiers
What are classes used for in HTML?
Grouping elements for styling and behavior
What are HTML entities?
Using special characters like & and <
What does the link element do?
Linking to external stylesheets
What is the purpose of the script element?
Embedding external JavaScript files
What is included in the HTML boilerplate?
DOCTYPE, html, head, and body elements
What is UTF-8 character encoding used for?
Ensuring universal character display
What is the function of meta tags in HTML?
Providing a short description for the web page and impacting SEO
What are Open Graph tags used for?
Enhancing social media sharing
What are replaced elements in HTML?
Embedded content (e.g., images, iframes)
What techniques are used for optimizing media?
Techniques to improve media performance
What are SVGs?
Scalable vector graphics for sharp visuals
What elements are used for embedding multimedia in HTML?
HTML audio and video elements
What is the purpose of the target attribute?
Controlling link behavior
What is the difference between absolute and relative paths?
Navigating directories
What does the path syntax in HTML include?
/, ./, ../ for file navigation
Why is semantic HTML important?
Maintains the structural hierarchy of the content
What are presentational HTML elements?
Elements that define the appearance of content
What is the em element used for?
Marks text that has stress emphasis