The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> 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
 
Reply to this topicStart new topic
Replies
Christian J
post Jan 18 2019, 12:47 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,663
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

Posts in this topic
chilliwax   HTML Help Please - making text bold and red   Jan 18 2019, 06:01 AM
chilliwax   anyone at all?   Jan 18 2019, 10:00 AM
Christian J   You can use CSS: <style> input[type=s...   Jan 18 2019, 12:47 PM


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

 



- Lo-Fi Version Time is now: 1st May 2024 - 05:09 AM