Paragraphs
A paragraph in HTML is defined using the <p>
element. This element is used to enclose a text block to indicate that it is a paragraph.
index.html
9
1
<p>Hello, world!</p>
In addition to the <p>
element, you can also use other elements and attributes to control the appearance and formatting of your paragraphs.
For example, you can also use other elements, such as <em>
and <strong>
, to emphasize specific words or phrases within your paragraphs.
index.html
9
1
<p><em>Hello, world!</em> This is a <strong>test</strong> paragraph.</p>
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 2
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat