The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> HTML Help Please - making text bold and red, HTML
chilliwax
post Jan 18 2019, 06:01 AM
Post #1





Group: Members
Posts: 2
Joined: 18-January 19
Member No.: 26,799



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

This post has been edited by chilliwax: Jan 18 2019, 06:02 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
chilliwax
post Jan 18 2019, 10:00 AM
Post #2





Group: Members
Posts: 2
Joined: 18-January 19
Member No.: 26,799



anyone at all?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jan 18 2019, 12:47 PM
Post #3


.
********

Group: WDG Moderators
Posts: 8,043
Joined: 10-August 06
Member No.: 7



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 15th February 2019 - 04:53 PM