Table of Contents
Home
Web Front-end
HTML Tutorial
How to implement the functionality of the font element in XHTML 1.0 Strict DTD_html/css_WEB-ITnose



How to implement the functionality of the font element in XHTML 1.0 Strict DTD_html/css_WEB-ITnose
<p>部分文字的<font color=blue>颜色</font>需要改变!</p>
Copy after login
The font element is not supported in XHTML 1.0 Strict DTD. How can I achieve the above effect?
Please give an example, thank you!
Reply to discussion (solution)
The color of some text needs to be changed!
Attribute values must be enclosed in quotation marks
The color of some text needs to be changed!
Attribute values must be enclosed in quotation marks
Okay, I made a typo. Can you help me think about how to implement it besides font?
< style type="text/css">
p{
color:blue;
}
I mean you posted it without even trying it.
If you dare to write the complete code and show it to me, if it achieves the effect, I will post it immediately.
Quoting the reply from bbjbepzz on the 3rd floor:
I mean you posted it without even trying it.
If you dare to write the complete code and show it to me, if it achieves the effect, I will post it immediately.
color of some text needs to be changed!
;p{
color:blue;
}
I mean you posted it without even trying it.
If you dare to write the complete code and show it to me, if it achieves the effect, I will post it immediately.