15. HTML 5 is still a Work in ProgressTags that define content. Usually paired with an opening and closing tag <tag></tag> Start with “<“ End with “>“ Unpaired tags self close - <tag /> <html></html> HTML is made up by a few different types of tag. Document Structure Head content Page content <title>My Site’s Title</title> <div></div> <h1></h1>
16.
17. Allows for ValidationDOCTYPE HERE <html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE HTML> HTML 5! http://tinyurl.com/geekGirlTea-doctype
47. Different styles can be used for screen and print – the media attribute <style type="text/css"> li { border-bottom: 5px solid green; } ulli { border-bottom: 1px dashed red; } </style> This can be in separate file <html> <head> <title>Site Title</title> <link href="/style.css" media="screen" rel="stylesheet" type="text/css" > <link href="/printStyle.css" media=“print" rel="stylesheet" type="text/css" > </head>