Chapter 2 - Introduction to HTML5: Part 1
IT350 Web and Internet Programming
Chapter 2 - Introduction to HTML5: Part 1
2.1 Introduction / 2.2 Editing HTML5 ? HTML 5 (HyperText Markup Language 5)
? A markup language that specifies the structure and content of documents
? Separates document presentation from information ? Standard defined by W3C ? HTML documents
? Source-code form ? Text editor (e.g. Notepad, Wordpad, emacs, etc.) ? .html or .htm file-name extension ? Web server ? stores HTML documents ? Web browser ? requests HTML documents
1
Basic Syntax
Useful links
or
Example
main.html (1 of 1)
2
2.4 W3C HTML5 Validation Service
? Validation service ( validator. )
? Checking a document's syntax ? Provide URL (not intranet), upload file, or direct input
? Local validation service
Block vs. inline tags in HTML5
? Block tags
? Start their content on a new line
? Inline tags
? Their content continues on the same line
? Restrictions
? Inline tags (and text) must be nested inside block tags, not directly under or
? Block tags cannot be nested inside inline tags
ILLEGAL:
Foo
3
2.5 Headers ? h1 to h6
2.6 Linking ? Hyperlink
? References other sources such as HTML documents and images
? Both text and images can act as hyperlinks ? Created using the a (anchor) element
? Attribute href ? Specifies the location of a linked resource
? Link to e-mail addresses using mailto: URL
4
Relative vs. Absolute Links
? Absolute links
Computer Science Dept NYT
? Relative links
Textbooks Textbooks More on dogs
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- html5 and css complete 7th edition woods test bank
- cs105 course reader appendix a html reference
- html5 notes for professionals
- introduction to web design with html5 and css 3
- html5 santa rosa junior college
- chapter 2 introduction to html5 part 1
- html5 cheat sheet websitesetup
- html5 tags tutorialspoint
- hypertext markup language html
- unit g organizing content with lists and tables
Related searches
- exam 2 introduction to sociology
- introduction to psychology chapter 1
- introduction to psychology chapter 1 quiz
- integrated 1 chapter 2 math
- introduction to sociology exam 1 quizlet
- introduction to psychology chapter 2 quizlet
- introduction to psychology chapter 4
- introduction to psychology chapter 2
- chapter 8 an introduction to metabolism key
- 1 john chapter 2 explained
- chapter 1 introduction to life span
- 1 john chapter 2 study