+ 1
How can i combine these? ⬇️
<h1 style="border:2px solid Tomato AND style="align-center OR style="font-family:veranda;"> AND OTHERS??
4 odpowiedzi
+ 1
𝐙𝐢𝐠𝐙𝐚𝐠 OK this works - tested
<h1 style="border: 2px solid Tomato; text-align: center; font-family: verdana;"> Header 1 </h1>
+ 1
This should all fit inside a single style declaration
<h1 style="border: 2px solid Tomato; align-center; font-family: verdana;">
However, if not for the purpose of learning html I would advise against styling your headers using html - it would look much cleaner using CSS
Also, are you sure about align center? What are your trying to achieve? Text is centered using text-align: center
0
It doesn't work :(
0
I missed a : near border: 2px
I'll try again in code editor and let you know if I'm missing anything else 😁