HTML Paragraphs

On this page you will learn how to create paragraphs in HTML.

Creating a Paragraph

The paragraph element is used to publish text on web pages.

Paragraphs are identified by the 'p' tag. The paragraph tag is very basic and is often the first tag to publish your text on web pages.

Other html tags can be placed in paragraphs. Many tags such as span, a, b, strong etc. in the paragraphs allow different operations.
<!-- A basic paragraph has no label other than text in it, it does not contain a property class such as id, class .-->
<p> Let's write an example of a paragraph here. </p>

<!-- It is inconvenient that an unclosed paragraph as below will attempt to enclose all items that follow. -->

<p> An unclosed paragraph

<!-- To move to the bottom line after a place in the paragraph, the <br> tag is used.-->
<p> This is a <br> tag to descend to the bottom line. Unlimited use for the paragraph. </p>

<!-- In the example below, the code editor has passed the bottom line. Such use will cause a plain text output on the browser screen.-->
    While writing text from the editor
    go to the bottom line
    Does not create an effect on the browser screen
</ P>

<!--Moving to the bottom line while writing text from the editor does not have an effect on the browser screen-->

<p class = "text"> A class is defined in the paragraph. </p>

<p id = "text"> An id is defined in the paragraph. </p>

Html paragraphs are very important in terms of usage intensity. It has a basic and simple usage. Easy to edit with predefined styles.


0 Yorum

Soru & Yorum

Web Tasarım

Renkli Kare

Web Tasarım Ajansı