Sorry, a designer here (not a developer). I am having an issue with only the first attribute being applied and inability to apply any others after the first one. I know the best way is through CSS, but sometimes a need a quick simple job and can't spend the time to develop or edit a CSS properly.
Here's what I have, what is wrong?:
<!DOCTYPE html>
<html>
<body>
<div style="text-align:center;" style="font-decoration-style:bold;" style="text-decoration-color:red;">Helloooo!</div>
</body>
</html>
Sorry but you can only have one attribute of a kind for each element in HTML. Try this instead:
<!DOCTYPE html>
<html>
<body>
<div style="text-align:center; font-weight:bold; color:red;">Helloooo!</div>
</body>
</html>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With