HTML5CSS3I

HTML5CSS3I - immediately It is only legal if it appears...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
ANNOUNCEMENTS No posting of code in the forum Check class announcements daily 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
GETTING STRING CHARACTERS The function charAt Allows us to retrieve the character associated with a particular index position in a string. Access is similar to array indexing (first character at 0) Example var x = “Wednesday”; var secondCharacter = x.charAt(1); // variable has “e” var lengthOfString = x.length; // variable has 9 This function is helpful when trying to validate data Example: charAt.html 2
Background image of page 2
3 BREAK STATEMENT break cause the innermost loop to exit
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: immediately It is only legal if it appears inside a loop or switch statement Example: Break.html 4 SWITCH STATEMENT Type of conditional statement Example: Switch.html HTML5 FORM CONTROLS HTML5 introduces new form controls and data verification Lets take a look at one example Notice that we are also using some CSS3 properties Example: FormElements.html, FormElements.css 5 6 HTML5 CONTENTEDITABLE Example: ContentEditable.html 7 CSS3 TABLES Example: Tables.html, Tables.css...
View Full Document

Page1 / 7

HTML5CSS3I - immediately It is only legal if it appears...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online