HTML Class 03
HTML Class 03
The <i> HTML element represents a range of text that is set off from the
normal text for some reason, such as idiomatic text, technical terms,
taxonomical designations, among others. Historically, these have been
presented using italicized type, which is the original source of
the <i> naming of this element.
Try it
Attributes
This element only includes the global attributes.
Usage notes
Use the <i> element for text that is set off from the normal prose for readability
reasons. This would be a range of text with different semantic meaning than the
surrounding text. Among the use cases for the <i> element are spans of text
representing a different quality or mode of text,
What is bgcolor in HTML?
In HTML, the bgcolor attribute sets the background color of a HTML element. The
bgcolor attribute can be used with the HTML tags like <body>,
In the below example, we are using the bgcolor attribute with the <body> tag, and we are
setting the value of the attribute to bgcolor="blue". Hence, we can see that the background
color appears as blue in the output image below.
<!DOCTYPE html>
<html>
<body bgcolor="blue">
<h1>I am a Heading</h1>
</body>
</html>