These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:19 pm Advanced search

HTML 5 buttons

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

HTML 5 buttons

Postby henrietta_r_hippo » Tue Mar 02, 2010 12:05 pm

Hey there

I'm tryin to create a simple button in HTML 5. I'm trying to add a gradient to they button but I can't find a good tutorial.

This is what I have so far:

<!doctype html>
<html>
<head><title>Images</title>
<script type="javascript">
</script>

</head>
<body>
<header>
My Images
</header>
<section>
<button id="start" onclick="javaScript:alert('hello')" >Start
</button>
</section>
</body>
</html>

any help woulb be appreciated
henrietta_r_hippo
<h6>
 
Posts: 1
Joined: Tue Mar 02, 2010 12:01 pm

Re: HTML 5 buttons

Postby zcorpan » Thu Mar 31, 2011 7:27 pm

What do you need help with? The gradient? Have you tried using a background image or CSS gradients?
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests