In this tutorial, We will inform you about the use and implementation of <p> tag in html5.
In this tutorial, We will inform you about the use and implementation of <p> tag in html5.In this tutorial, We will inform you about the use and implementation of <p> tag in html5. This tag is used for specifying a paragraph in the html document. This tag automatically create the space in the browser at the position where paragraph is start and end. We can also specify the spacing by using css.
The syntax of the <p> tag is as:
<p>Paragraph Text here</p> |
This tag don't have any specific attribute.
Example: P_tag.html.
<!DOCTYPE html> <html> <head> <title>Example of p Tag</title> </head> <body> <p> This tag is used to make a paragraph in a document. </p> <p> We can use mnltiple p tag in the document. </p> </body> </html> |
Output:
Difference between html4.01 and html5.
The align attribute is not supported by in html5.