Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ HTML Help Please - making text bold and red

Posted by: chilliwax Jan 18 2019, 06:01 AM

Hi, is anyone able to help with the following query.

We have the following code: -



<p>
<input type="email" name="EMAIL" placeholder="Enter your email address to reveal your discount code"
required="" value="Enter your email address">
</p>
<p>
<input type="submit" value="I would like 10% discount please!">

</p>


How do we make the text "I would like 10% discount please!" bold and red?

We have seen some HTML online but we have no idea where to put it within the above...sorry this is probably really easy for some people sad.gif

thanks for your help

Posted by: chilliwax Jan 18 2019, 10:00 AM

anyone at all?

Posted by: Christian J Jan 18 2019, 12:47 PM

You can use CSS:

CODE
<style>
input[type=submit] {font-weight: bold; color: red; background: gray;}
</style>

Put the above in the page's HEAD section.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)