HTML Italic Tag
The HTML <i> element defines a italic tag, withoud any extra importance.
Exapmle
<!DOCTYPE html>
<html>
<head>
<title> HTML italic <i> Tag</title>
</head>
<body>
<p>Hello, This is <i>Kumar Atul Jaiswal.</i></p>
</body>
</html>
Result
Hello, This is Kumar Atul Jaiswal.
HTML Emphasis Tag
The HTML <em> element defines emphasized text, with added semantic importance.
Exapmle
<!DOCTYPE html>
<html>
<head>
<title> HTML italic <i> Tag</title>
</head>
<body>
<p>Hello, This is <em>Kumar Atul Jaiswal.</em></p>
</body>
</html>
Result
Hello, This is Kumar Atul Jaiswal.
Each of the above tags is generally interpreted by the browser in a similar way.
The two commonly used tags to place italics onto a website are <em> and <i>.
They are short and sweet.
Note: Browsers display <strong> as <b>, and <em> as <i>. However, there is a
difference in the meaning of these tags: <b> and <i> defines bold and italic text,
but <strong> and <em> means that the text is "important".
<b> Bold Tag <strong> Tag
Follow this Link :- <b> Bold Tag
0 comments:
Post a Comment
For Any Tech Updates, Hacking News, Internet, Computer, Technology and related to IT Field Articles Follow Our Blog.