Skip to content

Instantly share code, notes, and snippets.

View easachs's full-sized avatar

Eli Sachs easachs

View GitHub Profile
@easachs
easachs / b2_intermission_work.md
Last active June 27, 2022 21:56 — forked from mikedao/b2_intermission_work.md
B2 Intermission Work Submission

B2 Intermission Work

Answer these Check for Understanding questions as you work through the assignments.

HTML

  1. What is HTML? - HTML stands for Hyper Text Markup Language. It is a language used by browsers to format and display webpages
  2. What is an HTML element? - An HTML element is used to tell the browser how to display content. Defined by a start tag, content, and an end tag (all of these are one element, though some elements like br do not have content/end tags. Often nested in other elements
  3. What is an HTML attribute? - Give additional info about elements, always in the start tag. Usually done in name/value pairs
  4. What is the difference between a class and an id? When would you use one vs. the other? - A class can be used to apply style to multiple things, an id is used once. A class could be used to tie different sections of a page together stylistically, while an id would be for a unique part of the page