Web Dev

HTML Tags

Answers:

A) Six
B) By closing one paragraph with the closing tag </p>), and starting the new paragraph with another opening tag: <p>
C) The <b> tag makes words bold. 
D) The <em> tag italicizes words. If you used <i> you’d get the same result, but <em> is used when you want to emphasize a word whereas <i> indicates the text should be in italics, like a book title, but doesn’t mean it’s especially important.
E) <hr/> displays a horizontal line

  1. If Chrome isn’t on the list of options to open the file with, no worries! First, make sure you have Chrome downloaded onto your computer. If you do, but it still isn’t showing up under the “Open with” options, click “Other” at the bottom of the “Open with” list and search for Chrome. Select it and click Open. ↩︎
  2. Fun fact: You typically only have 1 (or less) h1 element per page as h1 is reserved for the top-most header, such as a page title. ↩︎
  3. Syntax is like the set of rules that determine how you write the code. It’s similar to grammar in a language, where specific arrangements of words create meaningful sentences. In HTML, elements, attributes, and values must be organized in a specific way to create a well-formed webpage. ↩︎
  4. It will take your instructor much, much longer to help you if your code is not formatted well. ↩︎

Pages: 1 2