Untitled Deck Flashcards
(98 cards)
What is the role of HTML?
Foundation of web structure.
What are HTML elements?
Used to represent content on the page, made by an opening and a closing tag (e.g., <h1></h1>, <p></p>).
What is a div element?
A generic HTML element that does not hold any semantic meaning, used as a container for other HTML elements.
What are void elements?
Elements that do not have a closing tag (e.g., <img></img>).
What are attributes in HTML?
Adding metadata and behavior to elements.
What are IDs in HTML?
Unique element identifiers.
What are classes in HTML?
Grouping elements for styling and behavior.
What are HTML entities?
Using special characters like & and <.
What does the <link></link> element do?
Links to external stylesheets.
What does the
element do?
Embeds external JavaScript files.
What is HTML boilerplate?
Basic structure of a webpage, including DOCTYPE, html, head, and body elements.
What is UTF-8 character encoding?
Ensuring universal character display.
What are meta tags?
Provide a short description for the web page and impact SEO.
What are Open Graph tags?
Enhance social media sharing.
What are replaced elements in HTML?
Embedded content (e.g., images, iframes).
What does optimizing media involve?
Techniques to improve media performance.
What are SVGs?
Scalable vector graphics for sharp visuals.
What are HTML audio and video elements?
Used for embedding multimedia.
What does embedding with <iframe> do?
Integrates external video content.
What are target attribute types?
Controlling link behavior.
What is the difference between absolute and relative paths?
Navigating directories.
What is path syntax?
Understanding /, ./, ../ for file navigation.
What are link states?
Managing different link interactions (hover, active).
Why is semantic HTML important?
Maintains the structural hierarchy of content.