topskill.dev
CoursesTracks
0
All courses/Introduction to HTMLParagraphs and Inline Tags
Text Content
3 / 8
← Introduction to HTML
○What Is HTML? See Tags in Action○Build the Meridian Signal○Complete HTML5 Page Structure○Build a Complete HTML5 Page✦Module Quiz
○Heading Hierarchy: H1 and H2○Extend the Signal Brief●Paragraphs and Inline Tags○Write Meridian's Survey Notes○List Types: Steps, Items, and Terms○Build a Crew Member Loadout○Challenge: Transmit a Rescue Signal✦Module Quiz
○Hyperlinks○Links between project files○Images○Applying Styles to HTML✦Module Quiz
○Div and Span○HTML Tables○Classes and IDs○Review: Structured Profile✦Module Quiz
○Project 1 - Visiting Card Structure○Project 1 - Visiting Card Actions✦Module Quiz
○The Head Element and Page Title○Meta Tags○HTML Entities✦Module Quiz
○Form Basics: Join the Meridian Relay○Build a Night-Shift Check-In○Input Types: Build a Mission Profile○Record Beacon Maintenance○Choice Controls: Select Training Modes○Plan a Supply Pickup○Response Controls: Send a Mission Reply○Build a Rescue Dispatch Report○Form validation and submission○Challenge: Send an Emergency Beacon✦Module Quiz
○Project 2 - Contact Us Form Structure○Project 2 - Contact Us Form Actions✦Module Quiz
○Embedding Video○Embedding Audio○Iframes✦Module Quiz
○Semantic HTML Tags○Details, Figure, and Figcaption○A keyboard-friendly page✦Module Quiz
○Project 3 - Resume Semantic Structure○Project 3 - Resume Links and Actions✦Module Quiz

Paragraphs and Inline Tags

The Meridian crew is logging a short survey update. The completed index.html uses inline elements inside paragraphs to mark selected words. Run it first, then compare the source with the preview: the paragraph stays together while individual phrases gain meaning.

Read the code

html
<p><strong>Priority:</strong> keep the <em>survey channel</em> open.</p>
<p>
  Keyword: <b>beacon</b>. Vessel: <i>Meridian</i>.
  Spelling to review: <u>recieve</u>.
</p>
<p><small>Sensor note:</small> H<sub>2</sub>O and E = mc<sup>2</sup>.</p>
<p><mark>Review this reading.</mark> <del>Old course</del> <ins>New course</ins></p>

<em> marks stress emphasis and <strong> marks importance. They usually look italic and bold. <b> draws attention without adding importance, <i> sets off text such as a technical term or a ship name, and <u> marks an annotation such as a spelling error. These tags have meanings too; use CSS when you only want a visual effect.

<small>, <sub>, and <sup> still express useful text relationships: a note, subscript, and superscript. <mark>, <del>, and <ins> show highlighted, removed, and added text.

Try the preview

Run the page. Notice that every example remains inside an ordinary paragraph; the inline tag changes only the selected phrase instead of creating a new block.

Check your page

Try removing the <br> from the first paragraph and rerun to see how the lines flow, then restore it. The <br> creates a line break inside the paragraph; it has no closing tag. The other tags wrap the exact words whose meaning you want to mark.

Next

Continue to Write Meridian's Survey Notes and use paragraphs, emphasis, strong text, a line break, and a divider yourself.

Files
  • ⋄index.html
Loading editor…