Join James Williamson for an in-depth discussion in this video Writing a function, part of HTML Essential Training.
So, underneath the comment that says tabbed panels, I'm going to tab over and…I'm going to write our first function by typing window, this is the window object,….onload equals function.…Then I'm going to open and close parentheses, open a curly brace just like…we did with CSS, and I'm going to hit Return twice and close it.…Let's talk about what this is.…So, window is referencing an object, and…the object is the document window itself, meaning the page you're on.…
- Why is HTML important?
- Exploring an HTML document
- Formatting content
- Displaying images
- Using nav, article, and div elements
- Linking to pages and downloadable content
- Creating lists
- Controlling styling (fonts, colors, and more)
- Writing basic scripts
Skill Level Beginner
1. Introducing HTML
2. Basic Page Structure
3. Formatting Page Content
4. Structuring Content
5. Creating Links
6. Creating Lists
7. Controlling Styling
8. Basic Scripting
Next steps2m 16s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.