Lowest price ever! Learn Generative AI for 48% less!
Get my discount- 2
how many of you know the different types of tags to make italics in HTML & css with out <i> tag...???
with out <i>text here</i>
13 Answers
+ 4
Besides <i> in the HTML file you can also use one of the following options:
- In HTML file: <em>
- in HTML file: <cite>
- in CSS file: [selector] {font-style: italic;}
+ 7
So the winner is @Thanh Le.
or do you know other way than what people has posted here?
+ 7
@Raghu
Can you mark @Thanh Le answer as best answer to make him the winner for your quizz?
+ 6
is it a quizz?
+ 6
i don't think there is another way.. in HTML <i> element is da only way to define italic text, without any extra tags!!
+ 6
what about those italic and footnote class.
how do you make it italic? (surely with css but how, or do you use javascript?)
+ 5
hey..... you said without <i> tag, why you include it in your answer?
+ 1
yep
+ 1
Yep So the final winner is @Thanh Le.
all are agree with me?
+ 1
<span class="footnote">
This uses a CSS class for semantics. So far this appears to be the best way but it actually has two problems.
Not all text has sufficient meaning to warrant semantic markup. For example, is italicised text at the bottom of the page really a footnote? Or is it an aside? Or something else entirely. Perhaps it has no special meaning and only needs to be rendered in italics to separate it presentationally from the text preceding it.
Semantic meaning can change when it is not present in sufficient strength. Lets say I went along with "footnote" based upon nothing more than the text being at the bottom of the page. What happens when a few months later I want to add more text at the bottom? It is no longer a footnote. How can we choose a semantic class that is less generic than <em>but avoids these problems?
0
I have following four approaches:
<i>Italic Text</i>
<em>Italic Text</em>
<span class="italic">Italic Text</span>
<span class="footnote">Italic Text</span>
0
normally included , i gave answer all possibilities including i tag
0
<em>Italic Text</em>
<span class="italic">Italic Text</span>
<span class="footnote">Italic Text</span>