0
Sir, how I wrote align centre in. notepad
2 Réponses
0
First make a CSS file.
Example:
Style.css
This is a diffrent file from your html file.
In the head section of your html file add this
<link rel="stylesheet" type="text/css" href="style.css">
In your CSS file add this
text-align:center
Example:
h1{
text-align:center;
}
0
align attribute is deprecated in html5, do not use it. Use CSS for alignment of html tag.