HTML Help Please - making text bold and red, HTML |
HTML Help Please - making text bold and red, HTML |
chilliwax |
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 thanks for your help This post has been edited by chilliwax: Jan 18 2019, 06:02 AM |
chilliwax |
Jan 18 2019, 10:00 AM
Post
#2
|
Group: Members Posts: 2 Joined: 18-January 19 Member No.: 26,799 |
anyone at all?
|
Christian J |
Jan 18 2019, 12:47 PM
Post
#3
|
. Group: WDG Moderators Posts: 9,661 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. |
Lo-Fi Version | Time is now: 26th April 2024 - 07:58 PM |