CourseNotes_HTML Essential Training
CourseNotes_HTML Essential Training
Description: Hypertext Markup Language (HTML) is the foundation of website and web
application development. It allows you to ensure that your content is understood by
both segments of your audience: the people who watch, read, or listen to your
content, and the computers that display it. In this course, learn how to craft
excellent HTML with the pieces that HTML itself has to offer. Instructor Jen
Simmons highlights all of the fundamental concepts you need to use HTML
thoughtfully. She focuses on semantic markup: tagging content as what it is, and
not just for formatting, convention, or convenience. This has far-reaching impact
for those who consume the web differently; it ensures that when a screen reader or
a system (like a search engine) consumes a page, it knows exactly what it contains
and how to categorize that information.
***********************************************
Chapter: 2. Formatting Text
***********************************************
-----------------------------------------------
Video: Bold and italics
-----------------------------------------------
Note Time: Note Text:
<i>: Used for visual italics without any semantic meaning. Example: Titles of works
like "Sesame Street".
<em>: Used for emphasis, conveying importance in the text. Example: Highlighting
the word "favorite" to show it's important.
Bold Elements:
<b>: Used for visual bolding without any semantic meaning. Example: Making a phrase
stand out visually.
<strong>: Used to convey strong importance or urgency. Example: Highlighting the
word "Warning" to show it's crucial.
-----------------------------------------------
Video: Quotes
-----------------------------------------------
Note Time: Note Text:
Unordered Lists: Use <ul> tags and list items (<li>) to create bullet points.
Ordered Lists: Use <ol> tags and list items (<li>) to create numbered lists.
Definition Lists: Use <dl> for the list, <dt> for terms, and <dd> for descriptions
to create key-value pairs.
Citations: Use the <cite> element to credit the source of the quote.
-----------------------------------------------
Video: Dates and times
-----------------------------------------------
Note Time: Note Text:
-----------------------------------------------
Video: Code, pre, and br
-----------------------------------------------
Note Time: Note Text:
Line 1
Line 2
The <pre> Element:
-----------------------------------------------
Video: Superscripts, subscripts, and small text
-----------------------------------------------
Note Time: Note Text:
***********************************************
Chapter: 3. Understanding the Power of HTML
***********************************************
-----------------------------------------------
Video: Formatting HTML
-----------------------------------------------
Note Time: Note Text:
-----------------------------------------------
Video: Weird characters
-----------------------------------------------
Note Time: Note Text:
0:00:03 A space that prevents text from breaking into a new line.
How to Use:
Example: Use between "Jen" and "Simmons" to keep the name on one line.
***********************************************
Chapter: 4. Linking and Navigation
***********************************************
-----------------------------------------------
Video: Links
-----------------------------------------------
Note Time: Note Text:
0:00:12 Which code should you use to guarantee that the words "Hocus
Pocus" are not split by a line break after "Hocus"?
Hocus Pocus
Correct
The non-breaking space character entity ( ) ensures that "Hocus Pocus" will
always display on the same line
-----------------------------------------------
Video: URL paths
-----------------------------------------------
Note Time: Note Text:
-----------------------------------------------
Video: Navigation
-----------------------------------------------
Note Time: Note Text:
***********************************************
Chapter: 5. Images and Graphics
***********************************************
-----------------------------------------------
Video: Images
-----------------------------------------------
Note Time: Note Text:
-----------------------------------------------
Video: Image formats
-----------------------------------------------
Note Time: Note Text:
-----------------------------------------------
Video: Responsive width
-----------------------------------------------
Note Time: Note Text:
-----------------------------------------------
Video: Responsive pictures
-----------------------------------------------
Note Time: Note Text:
0:00:01 The <picture> element lets you specify different images for
different screen sizes or conditions.
<picture>
<source
media="(max-width: 599px)"
srcset="mobile-cropped.jpg 320w">
<source
media="(min-width: 600px)"
srcset="desktop-wide.jpg 600w">
<img
src="fallback.jpg"
alt="Description of the image">
</picture>
-----------------------------------------------
Video: Figure and figcaption
-----------------------------------------------
Note Time: Note Text:
0:00:02 Use the <figure> element to wrap both the image and its caption.
Inside the <figure>, place the image using the <img> tag.
Follow it with the <figcaption> tag, which contains the caption text.
<figure>
<img src="maggie.jpg" alt="Maggie the dog resting in a field">
<figcaption>Maggie the dog enjoys resting in a field after a long day of chasing
squirrels.</figcaption>
</figure>
***********************************************
Chapter: 6. Media
***********************************************
-----------------------------------------------
Video: Audio
-----------------------------------------------
Note Time: Note Text:
-----------------------------------------------
Video: Video
-----------------------------------------------
Note Time: Note Text:
-----------------------------------------------
Video: Captions and subtitles
-----------------------------------------------
Note Time: Note Text:
0:03:37 File Format: Use WebVTT (.vtt) format, which is a plain text
file containing time codes and corresponding text.
<video controls>
<source src="video-file.mp4" type="video/mp4">
<track src="captions.vtt" kind="captions" srclang="en" label="English" default>
</video>
***********************************************
Chapter: 7. More Ways to Identify Content
***********************************************
-----------------------------------------------
Video: Supporting languages
-----------------------------------------------
Note Time: Note Text:
To ensure your content is displayed correctly, set the character encoding using the
meta tag in the <head> section:<meta charset="UTF-8">
-----------------------------------------------
Video: Generic elements: div and span
-----------------------------------------------
Note Time: Note Text:
0:03:00 <div>: This is a block-level element. Use it to group larger
sections of content. <span>: This is an inline
element. Use it to target smaller pieces of content, like a word or phrase.
***********************************************
Chapter: 8. Putting It All Together
***********************************************
-----------------------------------------------
Video: Examples of putting it all together
-----------------------------------------------
Note Time: Note Text:
***********************************************
Chapter: 9. Forms and Interactive Elements
***********************************************
-----------------------------------------------
Video: More on forms
-----------------------------------------------
Note Time: Note Text:
0:00:01 <form>
<label>Name:</label>
<input type="text" placeholder="Your Name">
<br>
<label>Email:</label>
<input type="email" placeholder="[email protected]" required>
<br>
<button type="submit">Submit</button>
</form>
The placeholder attribute provides a short hint or example of what to enter in an
input field. It appears as light gray text inside the input box and disappears when
the user starts typing.
-----------------------------------------------
Video: Additional form element types
-----------------------------------------------
Note Time: Note Text:
0:01:07 Password: <input type="password">
Search: <input type="search">
Phone: <input type="tel">
Text Area: <textarea></textarea>
Date: <input type="date">
Color: <input type="color">
File: <input type="file" accept="image/*" multiple>
Checkbox: <input type="checkbox">
Radio: <input type="radio">
Select List: <select><option>Option 1</option><option>Option 2</option></select>
***********************************************
Chapter: 10. Structuring Tabular Data
***********************************************
-----------------------------------------------
Video: Building table rows
-----------------------------------------------
Note Time: Note Text:
0:02:45 <table>
<tr>
<th>Bird</th>
<th>Color</th>
<th>Diet</th>
</tr>
<tr>
<td>American Goldfinch</td>
<td>Yellow</td>
<td>Seeds</td>
</tr>
</table>