HTML (6)
CENTER TAG = It is used to centralize a segment of text
Margins = If you want to leave some space blank you have to use this tag.
- LEFT MARGIN = To leave some space in left side
- RIGHT MARGIN = To leave some space in right side
- TOP MARGIN = To leave some space in top
Example ↓↓↓↓
<html>
<head>
<title>My page</title>
</head>
<body topmargin = 60 leftmargin = 70 rightmargin = 45 >
sample text. This code will help you to understand how to leave space.
</body>
</html>
CENTER TAG = It is used to centralize a segment of text
Tag : <center>sample text</center>
EXAMPLE ↓↓↓↓↓
<html>
<head>
<title> sample page </title>
</head>
<body>
this is a <center> sample text </center>that how to use this text
</body>
</html>
0 Comments