HTML CSS Content Presentation JavaScript Behavior HyperText - - PowerPoint PPT Presentation

html css content presentation javascript behavior
SMART_READER_LITE
LIVE PREVIEW

HTML CSS Content Presentation JavaScript Behavior HyperText - - PowerPoint PPT Presentation

HTML CSS Content Presentation JavaScript Behavior HyperText Markup Language HTML should be used for defining WHAT is on the page NOT how it LOOKS Why? Consistency Alternate presentation Simplicity CSS (Cascading


slide-1
SLIDE 1
slide-2
SLIDE 2

HTML Content CSS Presentation JavaScript Behavior

slide-3
SLIDE 3

 HyperText Markup Language  HTML should be used for defining

WHAT is on the page NOT how it LOOKS

 Why? › Consistency › Alternate presentation › Simplicity  CSS (Cascading Style Sheets) for format

(next week)

slide-4
SLIDE 4

 Do not use HTML tags that are purely

format

› Bold and italic

 Do not use HTML tags to format the page

› Line breaks and special blanks

slide-5
SLIDE 5

<!DOCTYPE html> <html> <head> <! --- what shows up on the tab --- > <title>Put your title here</title> <! ---defining character necessary for validation --- > <meta charset="UTF-8"> </head> <body> <! --- the “good stuff” ! --- > What will appear on the page <footer> Created by A. Person on a date </footer> <!– onyens: … -- > </body> </html>

slide-6
SLIDE 6

 Two types of commands › Single commands

< command> or < command />

› Start/end commands

<command> ... </command>

 Tags can have additional information

associated with them – attributes <command attribute=…> … </command>

 Blank lines and spaces don’t matter

slide-7
SLIDE 7

 Are like boxes:

› You can nest them › You can put them side by side

 They are not links

› You can not intertwine them

slide-8
SLIDE 8

 Some can take any content › divisions, footers  Some have restrictions › Paragraphs can not have lists inside them  Some tags are limited as to where they can

appear

› List items can only appear in lists  Incorrectly nested tags MAY appear to

work

slide-9
SLIDE 9

Resources page will provide links snippets instructions w3School is your friend Google is your friend

slide-10
SLIDE 10

 Regular text = paragraph  Header numbers represent style, not order  Lists consist of list delimiters and list items