12.09.2015 Views

Boot Camp

Web Authoring Boot Camp - StudioBast

Web Authoring Boot Camp - StudioBast

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Web Page Code Structure<br />

Object<br />

Used for including generic objects within the document header. Though rarely used within<br />

a head element, it could potentially be used to extract foreign data and associate it with<br />

the current document.<br />

…<br />

Script<br />

Can act as a container for script instructions or link to an external script with the optional<br />

src attribute. Also usable in the document body to dynamically generate either both block<br />

or inline content. This would be used, for instance, to refer to JavaScript:<br />

…<br />

…<br />

Style<br />

The style tag refers to the use of Cascading Styles (CS) in a web page, and refers to embedded<br />

header section script.<br />

…<br />

Note: In HTML 5, all scripts are assumed to be type=”text/javascript” so when you<br />

choose the HTML5 doctype and use script, you can leave out the type=”text/javascript”<br />

unless your script is something other than JavaScript.<br />

Comments as Needed<br />

Your head section is a great place to add comments to yourself or other web authors about<br />

the web page, such as the colors in your selected color palette, the login information for<br />

the FTP uploading (minus the password, of course), general notes another author might<br />

need to see, etc.<br />

<br />

<br />

<br />

Body Section Contents<br />

The body section of a web page has a lot going on, and we’ll discuss details in subsequent<br />

chapters. At this time we’ll talk about the basic elements that allow your visitors to<br />

see text, images, links, and related content, then learn how to style and expand them later.<br />

All the elements and their attributes for tables, forms, frames, links, and images will have<br />

83

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

Saved successfully!

Ooh no, something went wrong!