CONTENT
How to add text in HTML
In HTML there are many modes to add text:

Paragraphs

The paragraph is a simple text box, with a simple format, that are use for adding text for content. The way to declare a paragraph is:
<p>Lorem ipsum dolor sit amet </p>

Headings

The heading is a text box, with format by default. There are 6 levels of headings with diferent format(font size or weight). The way to declare a heading is:
<h1>Lorem ipsum dolor sit amet </h1>
Images

How to add Images in HTML:

<img src="url" alt="alternateText">
src
- here you need to add the url adress of your image, or the file location, if the photo is local stored
alt
- this field is for adding a text, instead of the image, if the image isnt loaded; you can leave the field empty

How to add audio/videos in HTML:

<audio controls>
<source src="url">
<audio controls>
<video src="url">
Text Format
bold
<b>Lorem Ipsum </b>
Lorem Ipsum
italic
<i>Lorem Ipsum </i>
Lorem Ipsum
underline
<u>Lorem Ipsum </u>
Lorem Ipsum
Headings
Heading 1
Lorem Ipsum
<h1>Lorem Ipsum </h1>
Heading 2
Lorem Ipsum
<h2>Lorem Ipsum </h2>
Heading 3
Lorem Ipsum
<h3>Lorem Ipsum </h3>
Heading 4
Lorem Ipsum
<h4>Lorem Ipsum </h4>
Heading 5
Lorem Ipsum
<h5>Lorem Ipsum </h5>
Heading 6
Lorem Ipsum
<h6>Lorem Ipsum </h6>

All rights reserved.

Copyright © 2024 LearnSpace.