X hits on this document

PDF document

HTML Beginner's Guide - page 14 / 16

42 views

0 shares

0 downloads

0 comments

14 / 16

<form action="contactus.php" method="post"> <p>Name:</p> <p><input type="text" name="name" value="Your name" /></p> <p>Comments: </p><p><textarea name="comments" rows="5" cols="20">Your comments</textarea></p> <p>Are you:</p> <p><input type="radio" name="areyou" value="male" /> Male</p> <p><input type="radio" name="areyou" value="female" /> Female</p> <p><input type="submit" /></p> <p><input type="reset" /></p></form>

There is a whole other level of complexity you can delve into in the HTML Advanced Guide if you are so inclined.

Putting It All Together

The following code incorporates all of the methods that have been explained in the previous pages:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>My first web page</title> <!-- By the way, this is a comment --> </head> <body> <h1>My first web page</h1> <h2>What this is</h2> <p>A simple page put together using HTML. <strong>A simple page put together using HTML.</strong> A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML. A simple page put together using HTML.</p> <h2>Why this is</h2> <ul>

<li>To learn HTML</li> <li> To show off <ol> <li>To my boss</li> <li>To my friends</li> <li>To my cat</li> <li>To the little talking duck in my brain</li> </ol> </li> <li>Because I've fallen in love with my computer and want to give her some HTML loving.</li>

Document info
Document views42
Page views42
Page last viewedThu Dec 08 15:19:04 UTC 2016
Pages16
Paragraphs214
Words4418

Comments