How to work with Formatting in HTML
In this article I explain the how to perform the bold, italic and underline tags in text.
Bold
We can specify the bold text by using <b>......</b> tag. Everything written inside the <b> tag can become bold. For example
<html>
<head>
<title>HTML Example</title>
</head>
<body>
<b>The content become Bold Now</b>
</body>
</html>
|
Output
The content become Bold Now
Italic
We can specify the Italic text by using <i>......</i> tag. Everything written inside the <i> tag can become Italic. For example
<html>
<head>
<title>HTML Example</title>
</head>
<body>
<i>The content become Italic Now</i>
</body>
</html>
|
Output
The content become Italic Now
Underline
We can specify the Underline text by using <u>......</u> tag. Everything written inside the <u> tag can become Underline. For example
<html>
<head>
<title>HTML Example</title>
</head>
<body>
<u>The content become Underline Now</u>
</body>
</html>
|
Output
The content become Underline Now
Ask Your Question
Got a programming related question? You may want to post your question here