Thursday, January 11, 2018

How To Use Paragraph Tag In Html

Here in this HTML Tutorial We Will Try To Show Paragraph Tag.HTML paragraph tags are used to define the HTML paragraph element. Theparagraph element begins with the HTML <p> tag and ends with the HTML </p>tag. The HTML paragraph element should not contain tables and other block elements.HTML paragraph tags are used to define the HTML paragraph element. The paragraph element begins with the HTML <p> tag and ends with the HTML </p> tag. The HTML paragraph element should not contain tables and other block elements.The HTML paragraph element can only contain inline elements which are listed at the HTML Inline Elements page.The HTML <p> element represents a paragraph of text. Paragraphs are usually represented in visual media as blocks of text that are separated from adjacent blocks by vertical blank space and/or first-line indentation. Paragraphs are block-level elements.The HTML <p> tag defines a paragraph of text.HTML tags can contain one or more attributes. Attributes are added to a tag to provide the browser with more information about how the tag should appear or behave. Attributes consist of a name and a value separated by an equals (=) sign, with the value surrounded by double quotes. Here's an example, style="color:black;".There are 3 kinds of attributes that you can add to your HTML tags: Element-specific, global, and event handler content attributes.This HTML tutorial explains how to use the HTML element called the <p> tag with syntax and examples.The HTML <p> tag defines a paragraph in the HTML document. This tag is also commonly referred to as the <p> element.The paragraph tags are used to define a block of text as a paragraph. This HTML element is one of the basic HTML tags you should learn to use properly.When a block of text is surrounded by the paragraph tags, the browser automatically adds white space before and after the paragraph.The <p> element is used to identify blocks of paragraph text. The closing <p> tag is optional and is implied by the opening tag of the next HTML element encountered in an HTML document after an opening <p> tag.When writing in HTML, the <p> tag is a blockelement used to designate a paragraph. It is useful because Internet browsers add a bit of marginbefore after each element. The following sections contain information about this tag, including an example of it in use, as well as related attributes and browser compatibility.

Step 1 :

<!DOCTYPE html>
<html>
<body>

<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>

</body>
</html>

Output :

       

No comments:

Post a Comment

How To Create Image Gallery In Html

Hello Friend My Name Is Viraj,Today I Will Create Image Gallery And Display On A Webpage.The emergence of CSS3 technology has enabled web d...