Important Information
DTD statement for HTML5 is : <!DOCTYPE html> (doctype statement)Every single web page has in lower case letters:
- DTD
- html lang
- head = begins with <head> and ends with the </head> tag
- title ~
- text that will appear in the title bar of the browser window
- <title> stuff here </title>
- should be descriptive. If business or organization should include name of it
- meta ~
- describes a characteristic of a web page
- character encoding ~ internal representation of letters, numbers and symbols such as a web page or other file that is stored on a computer and may be transmitted over the internet
- common character encoding set is "utf-8" which is a form of Unicode
- not used as a pair of opening and closing tags - considered self-contained or void
- uses charset attribute to indicate the character encoding
- example is <meta charset="utf-8">
- references to scripts and styles
- body section ~ contains text and elements that display on web page in browser window
- body element
- begins with <body> tag and ends the </body> tag
- Will spend most of time in this section
- what is typed here will show up on web page
Heading tags help with accessibility
Paragraph elements ~ group sentences and sections of text together <p> text </p>
No comments:
Post a Comment