+ 1
what is align?
5 ответов
+ 3
align is stands for Alignment in HTML.
+ 2
Use Css 'text-align' instead, and avoid if possible ( meaning at production ) set it inlined to the tag element ^^
- 'align' attribute is deprecated in Html5
- inlined style declaration are to be reserved mainly to dynamic use through JS, or for draft steps, in order to preserve separation of type of contents ( datas/model, styles/display/view, and scripts/controllers )...
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
#myP { text-align:right; }
</style>
</head>
<body>
<p id="myP">Text of the paragraph section.</p>
</body>
</html>
+ 1
It is if you want some text in the centre right or left below is for the centre
<div align="center">
Text here
</div>
+ 1
if you are using simple notepad or wordpad then you can also use
<p align="right" >
the text you want to print right side
</p>
or the tag Blake told.
you can use this tag to align pictures, tables etc.
0
attribute that gives you option to place the text either at the centre right or left