/    Sign up×
Community /Pin to ProfileBookmark

Formatting Forms

Hi there!

I have a weboage with a form on it.
The form just allows you enter your name in a text box, then submit this name, which then runs a servlet.

I have a default value in the textbox in case the person dosent enter their name.

<form>
<input type=text name=”name” value=”Joe”>
<input type=”submit”>
</form>

It looks very BORING! Is there a way to format a form?

How can you make the text in the text box bigger, bold, different fonts etc.

I appreciate all help,

thanks,

Joe =)

to post a comment
Full-stack Developer

2 Comments(s)

Copy linkTweet thisAlerts:
@pyroMar 31.2003 — With CSS there is.

[color=darkblue]<input type=text name="name" value="Joe" style="color: #0000ff; size: 120%; font-family: Arial; font-weight: bold;">[/color]
Copy linkTweet thisAlerts:
@NapoleanSoloauthorMar 31.2003 — thanks very much =)
×

Success!

Help @NapoleanSolo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...