Text Formats in html

Based on the text we should use different types of formats in text
for example: some important points must be BOLD and to write logarithms we should write power on top corner and base of the logarithms below it. So based on the text we are using we use different types of text formats such as:

BOLD
ITALIC
BIG
SMALL
STRIKE
STRONG and many


BOLD:

<!DOCTYPE html>
<html>
<body>

<p><b>This text is bold</b></p>
</body>
</html>

Output:
This text is bold



ITALIC:


<!DOCTYPE html>
<html>
<body>


<p><i>This text is italic</i></p>


</body>
</html>


Output:

This text is italic

Comments

Popular posts from this blog

Headings In HTML

Introduction and Format of HTML

Font Tag