+ 1
How to add different font style on the text in the html code????????
when I had tried to use the face attribute in font tag for different faces and check the output there was no change in the text. It was as it is....there were no change....then I thought that there would be any mistake in my code so I copy it in my PC and tried.......and it works...but not in sololearn....why....????
5 odpowiedzi
+ 3
Okay, like AL Araf mentioned, the face attribute is no longer supported in HTML5. So either replace it by
style="font-family: cooper black"
or do the same in CSS.
+ 2
You have to remember that the <font> tag with face attribute isn't supported in HTML5!!
It might be a reason!!
You can use <p style= "font-family: cursive;">SoloLearn</p>!!
+ 1
Hi Hasrat Wadsariya
Could you please share your code, so we can see what's wrong?
+ 1
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body bgcolor="#fe2167">
<font color="#eda70f" face="cooper black" size="7">THIS IS WHERE I cannot see any change in my text </font>
<h1>so what do you say about it kishalaya saha</h1>
</body>
</html>
+ 1
ok thanks a lot to both of you!!!!!