HTML | Text Formatting
HTML provides you with the power for info text similar to you be intimate in MS Word or any text redaction software system. during this article, we'd bear few such choices.
<!DOCTYPE html>
<html>
<head>
<title>Bold</title>
</head>
<body>
<!--Normal text-->
<p>Hello Sayed </p>
<!--Text in Bold-->
<p><b>Hello Sayed</b></p>
<!--Text in Strong--> <p><strong>Hello Sayed</strong></p>
</body>
</html>
Output:
2. Making text Italic or emphasize
<html>
<head>
<title>Italic</title>
</head>
<body>
<!--Normal text-->
<p>Hello Sayed</p>
<!--Text in Italics-->
<p><i>Hello Sayed</i></p>
<!--Text in Emphasize--> <p><em>Hello Sayed</em></p>
</body>
</html>
Output:
3. Highlighting a text:
<!DOCTYPE html>
<!DOCTYPE html>
5. Making text
smaller:
<!DOCTYPE html>
<!DOCTYPE html>
<!DOCTYPE html>
HTML provides you with the power for info text similar to you be intimate in MS Word or any text redaction software system. during this article, we'd bear few such choices.
1. Making text Bold or Strong:
<!DOCTYPE html>
<html>
<head>
<title>Bold</title>
</head>
<body>
<!--Normal text-->
<p>Hello Sayed </p>
<!--Text in Bold-->
<p><b>Hello Sayed</b></p>
<!--Text in Strong--> <p><strong>Hello Sayed</strong></p>
</body>
</html>
Output:
2. Making text Italic or emphasize
<!DOCTYPE html>
<html><head>
<title>Italic</title>
</head>
<body>
<!--Normal text-->
<p>Hello Sayed</p>
<!--Text in Italics-->
<p><i>Hello Sayed</i></p>
<!--Text in Emphasize--> <p><em>Hello Sayed</em></p>
</body>
</html>
Output:
3. Highlighting a text:
No comments:
Post a Comment