12.09.2015 Views

Boot Camp

Web Authoring Boot Camp - StudioBast

Web Authoring Boot Camp - StudioBast

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Web Authoring <strong>Boot</strong> <strong>Camp</strong><br />

Dropdown List<br />

The dropdown list uses … to allow users to choose from a list provided<br />

by …. The list can be full choice as below, or have a preselected option<br />

by adding selected=”selected” after one of the option values.<br />

<br />

<br />

Mocha<br />

Latte<br />

Cocoa<br />

<br />

<br />

Email<br />

HTML5 only, partly supported. The good news is that all browsers that don’t support<br />

it see input type=”email” the same way they see input type=”text”, so there is no error<br />

in using this. However, on the iPhone, when the email attribute is used, some devices<br />

will respond by offering an alternate keyboard on the screen which is optimized for typing<br />

email addresses. Good for your visitors. Also, interestingly, browsers that support<br />

HTML5 validation automatically look at any input type=”email” as something that needs<br />

the email to be in an appropriate format before the form is sent.<br />

<br />

Email: <br />

<br />

URLs<br />

HTML5 only, partly supported. Like the email attribute all browsers that don’t support it<br />

see input type=”url” the same way they see input type=”text” while the iPhone responds<br />

by offering an alternate keyboard on the screen which is optimized for typing web addresses.<br />

Good for your visitors.<br />

<br />

Website: <br />

<br />

Submit Button<br />

A submit button is used to send form data to a server. The data is sent to the page specified<br />

in the form’s action attribute. The file defined in the action attribute usually does<br />

176

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!