creating your 1 st web page. tags refers to anything between on a webpage most appear in pairs...

12
The Most Basic HTML Page Creating Your 1 st Web Page

Upload: homer-bailey

Post on 29-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

The Most Basic HTML Page

Creating Your 1st Web Page

Page 2: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

TagsRefers to anything between <> on a

webpage

Most appear in pairs surrounding content

Some appear as empty tags (no closing tag) – These are always structured < stuff/>

Used to structure the page

Keep lowercase!

Page 3: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

Document Type Definition<!doctype html>

Empty tag (no closing)

Tells browser what type of document the webpage is

html: HyperText Markup Language

Specifically HTML5

Page 4: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

html TagPair of tags (will close later)

Surround everything else on page

lang attribute specifies language of the page

en = English

Attribute values are surrounded by quotation marks

Page 5: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

head TagPair of tags (will close later)

Contains info about the page

Tags in this section do NOT display on the page itself

Page 6: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

meta TagEmpty tag (no closing)

Info about the page

charset attribute specifies the encoding of text used in coding the page

Page 7: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

title TagPair of tags

Surround title of the page

Appears in top of browser

Used as title for bookmarks

Used in search engine results

Page 8: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

Close the head section

End of head section

Notice closing tags start with /

This guy’s really into

web design!

Page 9: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

body TagPair of tags (will

close later)

Contains content that WILL display on the webpage

Page 10: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

p TagPair of tags

Surround paragraph content that displays on page

Page 11: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

Close the body section

End of body section

Page 12: Creating Your 1 st Web Page. Tags Refers to anything between  on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing

Close of html End of the

page