Let's Learn HTML!
The HTML <p> element defines a paragraph. A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph 1.
An HTML paragraph element is a tag which is used to specify a paragraph to be displayed on the webpage. The text between the starting <p> tag and the end <p> tag represents a paragraph in HTML.
There are plenty of other HTML elements and tags to learn. If you want to stretch yourself go do a search on the internet to find more HTML elements and practice them below to see how they work.
Below are some examples of HTML tags you can test out and see how they work.
<h2>This is your header</h2>
<h3>This is your header</h3>
<h4>This is your header</h4>
<h5>This is your header</h5>
<h6>This is your header</h6>
<label>This is your header</label>
<p>This is your paragraph.</p>
<input>
<img src="images/placeholder.svg" alt="placeholder"> The src can be linked to a folder or a url on the web.
- Lesson 1
- Easy
- Medium
- Hard
Challenge
Create a title and a paragraph using the h1 and p tags.
Create a title with surrounding h1 in less than and greater than signs like this: <h1> Your Title Here </h1>
