Covered in this lecture:
- The web as information
- Semantic markup & HTML
- HTML fundamentals
Full lecture slides will be available the day of the lecture.
Introducing markup and the web
Please close all laptops except for those in the back row.
P1 Grade Release
Project 1 grades will be released by the end of the weekend. If you have concerns about your grade, before emailing me please:
- Review your letter grades and the project rubric.
- Send an email to Andrew indicating a specific concern with your grade.
- I will follow-up to arrange a time to meet and discuss the grade.
Your TAs are not permitted to address grading concerns, please email me directly.
Alt Office Hours
My regular office hours are suspended for reading week. I will be available instead on Wednesday, February 19 between 3-5pm or by email appointment.
What pieces of content are present?
The Document-Object Model (DOM)
Our standard in delivering HTML
This week you will be building your first HTML pages, this involves the DOM, which put simply is a collection of objects (ie. navigation, headings, paragraphs) that resemble the document it is modelling.
Hypertext Markup Language 5 (HTML5)
Not quite standard
"In 2022, HTML5 will be a proposed recommendation..."Ian Hickson
Telling the computer the pieces
HTML elements are (most frequently) comprised of an opening, and closing tag — i.e. <p></p> — using triangle brackets and a forward-slash to denote that they are HTML elements and not content.
Let's visit the HTML5 Doctor for a prescription.
Markup should help us understand the content.
Having coding concerns?
Let us know!
Let us know sooner rather than later that you are having concerns with coding. Also, there are absolutely no 'stupid' questions. Do not know? Please ask.
Prepped and ready to go
Available on Canvas in this week's module will be links to programs for your first 'web toolkits'. It contains:
Your new best friend
Seeing and manipulating web code in the browser has never been easier: A right-click and 'Inspect Element' opens up the development tools to let you manipulate the page.
Common Coding Errors
Since we will be starting some scripting this week, please keep an eye out for:
- Typoess: This is handz downe teh most commmon prublem.
- Forgetting brackets: Not ending or closing an element will lead to
- Forgetting to save: The file won't be able to update if not saved.
- Files and folders matter: The naming of files and folders (and where you put them) is very important.
In preparation for this week's code tutorial, please open up your laptops and download the starter files for the tutorial from ah1.ca/235-html
- Office hours — Tuesdays from 2:30-3:20pm and Thursdays from 9:30-10:20am at the Surrey campus mezzanine.