How to write paragraphs in HTML?
HTML Paragraph: In the HTML design language, the paragraphs is abbreviated to the letter p, and the paragraphs is considered a block element.
example:
<body>
<p>First paragraph</p>
<p>Second paragraph</p>
<p>Third paragraph</p>
</body>
How to use paragraphs with headings?
First example:
<body>
<h1>Title</h1>
<p>Paragraph<p>
</body>
Second example:
<body>
<h1>Types of programming</h1>
<p>Definition of programming</p>
<h2>Web Developer</h2>
<p>Definition of web development</p>
<h3>front end</h3>
<p>Definition of front end</p>
<h4>The first programming language</h4>
<h4>The second programming language</h4>
<h4>The third programming language</h4>
<h3>back end</h3>
<p>Definition of backend</p>
<h4>The first programming language</h4>
<h4>The second programming language</h4>
<h4>The third programming language</h4>
<h2>Desktop Developer</h2>
<p>Definition of desktop development</p>
<h3>The first programming language</h3>
<h3>The second programming language</h3>
<h3>The third programming language</h3>
<h2>Application developer</h2>
<p>Definition of application development</p>
<h3>The first programming language</h3>
<h3>The second programming language</h3>
<h3>The third programming language</h3>
</body>
Advanced example:
<body>
<h1>Types of programming</h1>
<p>Definition of programming</p>
<h2>Web Developer</h2>
<p>Definition of web development</p>
<h3>front end</h3>
<p>Definition of front end</p>
<h4>The first programming language</h4>
<p>Introduction to the First Language</p>
<h4>The second programming language</h4>
<p>Introduction to Second Language</p>
<h4>The Third Programming Language</h4>
<p>Introduction to Third Language</p>
<h3>back end</h3>
<p>Definition of backend</p>
<h4>The first programming language</h4>
<p>Introduction to the First Language</p>
<h4>The second programming language</h4>
<p>Introduction to Second Language</p>
<h4>The Third Programming Language</h4>
<p>Introduction to Third Language</p>
<h2>Desktop Developer</h2>
<p>Definition of desktop development</p>
<h3>The first programming language</h3>
<p>Introduction to the First Language</p>
<h3>The second programming language</h3>
<p>Introduction to Second Language</p>
<h3>The Third Programming Language</h3>
<p>Introduction to Third Language</p>
<h2>Application developer</h2>
<p>Definition of application development</p>
<h3>The first programming language</h3>
<p>Introduction to the First Language</p>
<h3>The second programming language</h3>
<p>Introduction to Second Language</p>
<h3>The Third Programming Language</h3>
<p>Introduction to Third Language</p>
</body>
note:
You may notice that h4 and paragraphs are equal. You can control the size of texts using the CSS formatting language.
Note: English is not my official language. Mostly I use Google Translate. Therefore, if you encounter a problem or find some errors, you can inform me of the error on the contact us page or comments, or go to Mozilla developer website to understand the lesson well.
Here we have finished. We will see you in the next lesson
Thank you for reading the article and do not forget to share it with friends