0

Sir, how I wrote align centre in. notepad

6th Nov 2016, 11:13 PM
Rahul Pratap Rana
Rahul Pratap Rana - avatar
2 odpowiedzi
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; }
7th Nov 2016, 1:51 AM
Brian
0
align attribute is deprecated in html5, do not use it. Use CSS for alignment of html tag.
7th Nov 2016, 12:01 AM
Aditya kumar pandey
Aditya kumar pandey - avatar