Intro to HTML
Lesson 1.1
© 2022 edX Boot Camps LLC. Confidential and Proprietary. All Rights Reserved.
Skills Bootcamp in Front-End Web Development
1
WELCOME
2
Today’s Objectives
By the end of the lesson today you will be able to:
Utilize basic Terminal/Bash commands.
Prove you have completed all required prework (software and tools installation).
Create a basic HTML page.
3
Prework
4
Software Checklist
At this point, you should have all of these installed:
Slack
Visual Studio Code
Git
Git Bash (Windows) or Terminal (Mac)
Google Chrome
5
Accounts Checklist
You should also have accounts for:
GitHub (with SSH Integration)
Stack Overflow
6
Confirm Prework Installed
30 minutes
Time to Code
Suggested Time:
7
Self-Check
Let’s do some quick checks of the following:
Visual Studio Code Check
Git Bash/Terminal Check
Git Check
8
9
Let’s Get Crackin’—Introduction to Console/Bash
10
Let’s Get Crackin’—Introduction to Console/Bash
Instructor Demonstration
11
Let’s Get Crackin’—Introduction to Console/Bash
cd | Changes directory | rm <FILENAME> | Deletes file |
cd ~ | Changes to home directory | rm -r <FOLDERNAME> | Deletes a folder, note the -r |
cd .. | Moves up one directory | open . | Opens the current folder. MAC SPECIFIC |
ls | Lists files in folder | open <FILENAME> | opens a specific file—MAC SPECIFIC |
pwd | Shows current directory | explorer <FILENAME> | Opens the specific file—BASH SPECIFIC |
mkdir <FOLDERNAME> | Creates new directory | explorer . | Opens the current folder—BASH SPECIFIC |
touch <FILENAME> | Creates a file | | |
12
Activity: Console Commands
From the Terminal/Console and using only the command line, create the following:
Open the current folder containing the new HTML file.
BONUS:
15 minutes
Suggested Time:
13
Time’s Up! Let’s Review.
14
Webpages
15
What Webpages Really Look Like
Instructor Demonstration
16
HTML stands for Hypertext Markup Language. While not technically a coding language, it determines what content and elements are displayed on a webpage.
17
CSS
HTML
(structure)
CSS
(presentation)
18
CSS
CSS is technically a selector language, which means it is used to select HTML elements in order to style them.
HTML elements
CSS rules
“Selector”
19
HTML, CSS, JavaScript
HTML | CSS | JavaScript |
Used to write content. | Used to format content. | Used to create dynamic web applications that take in user inputs, change what’s displayed to users, animate elements, and much more. |
20
Activity: Examining Wikipedia
In this activity, you'll take a moment to examine/modify a Wikipedia page using �Chrome’s inspector tool.
5 minutes
Suggested Time:
21
Time’s Up! Let’s Review.
22
Hello, HTML
Instructor Demonstration
23
Activity: My First HTML Page
Time to put these new skills to the test! In this activity, you'll create a new HTML �page from scratch.
10 minutes
Suggested Time:
24
Time’s Up! Let’s Review.
25
A Body of Content
Instructor Demonstration
26
Important Common Tags
Headings: | Containers: | Others: | |||
<h1> </h1> | Heading 1 (Largest heading) | <html> </html> | Wraps the entire page | <strong> | bold |
<h2> </h2> | Heading 2 (Next largest heading) | <head> </head> | Wraps the header of the page | <em> | emphasis |
<h3> </h3> | Heading 3 | <body> </body> | Wraps the main content | <img> | images |
... | | <div> </div> | Logical container | <a href> | links |
<h6> </h6> | Heading 6 (Smallest heading, rarely ever used) | <p> </p> | Wraps individual paragraphs | <li> | list items |
| | <ul> </ul> | Defines an unordered list | <title> | title |
| | <ol> </ol> | Defines an ordered list | <br> | line break |
| | | | <table> | tables |
| | | | <!-- --> | comments |
27
Image Types
JPEG | The JPEG file format is a type of image compression that works best with photographs and complex images. JPEGs are great multipurpose files, although designers can run into issues when working with different browser screen sizes. We'll primarily be using JPEGs in our program. |
PNG | PNGs support variable transparency. In other words, users can control the degree to which the image is transparent. These can be useful when planning or designing website and application interfaces. But they are less common. |
SVG | SVG files allow you to create very high-quality graphics and animations that do not lose detail as their size increases. This means that, with an SVG file, you could create one graphic that looked great on a tiny mobile phone screen or on a 60-inch computer monitor. On the downside, these files can be very large. |
GIF | You know what these are! GIFs have the unique ability to display a sequence of images, similar to videos. These are called animated GIFs, in which a series of separate GIF images that are linked together to create motion (animation). |
28
Building Up HTML
15 minutes
Time to Code
Suggested Time:
29
Time’s Up! Let’s Review.
30
Questions?
31
32
32