Learn HTML part 12

The Align Attribute

The Align Attribute is used to specify how the text is aligned.
In the example given below we have a paragraph that is aligned to the center.

For example 
<html>
<head>
<title> First paragraph </title>
</head>
<body>
<p align="center"> This is my first paragraph </p>
<p> This is my second paragraph </p>
</body>
</html>

Result 

Post a Comment

0 Comments