1. jQuery Mobile
Hour 2
Working with HTML, CSS and JavaScript
about.me/babon
2. What You'll Learn in Hour 2
+ The current role of HTML
+ Different ways to add styles to a web page
+ What JavaScript is and how you can use it
about.me/babon
3. Building Content with HTML
jQuery Mobile requires the use of HTML5
doctype.
<!DOCTYPE html>
<html>
<head><title></title></head>
<body></body>
</html>
about.me/babon
4. Presenting CSS
Three different ways to add styles to a web
page:
● external styles <link>
● embedded styles <style>
● inline styles < ... style=" ">
about.me/babon
5. Functioning with JavaScript
JavaScript is used to make something happen
when a visitor comes to view the site.
Placing <script> tags in your document:
● inside the <head>
● inside the <body>
● just before the closing </body> tag
about.me/babon