140 likes | 241 Views
Creating Your 1 st Web Page. The Most Basic HTML Page. Tags. Refers 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!.
E N D
Creating Your 1st Web Page The Most Basic HTML Page
Tags • Refers 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!
Document Type Definition • <!doctype html> • Empty tag (no closing) • Tells browser what type of document the webpage is • html: HyperTextMarkup Language • Specifically HTML5
html Tag • Pair 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
head Tag • Pair of tags (will close later) • Contains info about the page • Tags in this section do NOT display on the page itself
meta Tag • Empty tag (no closing) • Info about the page • charset attribute specifies the encoding of text used in coding the page
title Tag • Pair of tags • Surround title of the page • Appears in top of browser • Used as title for bookmarks • Used in search engine results
Close the head section • End of head section • Notice closing tags start with / This guy’s really into web design!
body Tag • Pair of tags (will close later) • Contains content that WILL display on the webpage
p Tag • Pair of tags • Surround paragraph content that displays on page
Close the body section • End of body section
Close of html • End of the page