Grade8 HTML
Grade8 HTML
Development
Make sure you have
Sublime Text Chrome
server
client
All computers have an address called an IP address.
Think of it as a mailing address for computers.
server
address: 193.45.12.4
client
address: 169.232.116.21
Each domain name (ex: helloworld.com) corresponds to an IP
address to a server.
server
address: 193.45.12.4 aka
helloworld.com
client
address: 169.232.116.21
So when you type in a domain name from your computer, you are
making a request to a server with that corresponding address.
server
address: 193.45.12.4 aka
helloworld.com
client
address: 169.232.116.21
To: 193.45.12.4 aka helloworld.com
From: 169.232.116.21
client
server
To: 169.232.116.21
From: 193.45.12.4 aka helloworld.com
Wow neat they even have their own JS stands for JavaScript
logos btw
Hypertext Markup Language
Source: https://www.w3schools.com
What is HTML?
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<meta charset="UTF-8">
<meta name="author" content=“AuthorName">
<meta name="keywords" content="HTML, CSS, JavaScript">
</head>
<body>
<!-- Type your content here -->
</body>
</html>
Example Explained
Example
Here is a quote from WWF's website:
For nearly 60 years, WWF has been protecting the future of
nature. The world's leading conservation organization, WWF
works in 100 countries and is supported by more than one
million members in the United States and close to five
million globally.
HTML <blockquote> for Quotations
Example
<p>Here is a quote from WWF's website:</p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature.
The world's leading conservation organization,
WWF works in 100 countries and is supported by
1.2 million members in the United States and
close to 5 million globally.
</blockquote>
HTML <q> for Short Quotations
Example
<p>WWF's goal is to: <q>Build a future where people live in
harmony with nature.</q></p>
HTML Block and Inline Elements
Example
<p>Hello World</p>
<div>Hello World</div>
Here are the block-level elements in HTML:
Example
<span>Hello World</span>
Here are the inline elements in HTML:
• Links are found in nearly all web pages. Links allow users to click
their way from page to page.
Example:
<a href="url">link text</a>
HTML Links - Syntax
• The HTML <a> tag defines a hyperlink. It has the following syntax:
Example:
<a href="url">link text</a>
The most important attribute of the <a> element is the href attribute, which indicates
the link's destination.
The link text is the part that will be visible to the reader.
Clicking on the link text, will send the reader to the specified URL address.
Example
This example shows how to create a link to W3Schools.com:
<a href="https://www.w3schools.com/">Visit W3Schools.com!</a>
By default, links will appear as follows in all browsers:
By default, the linked page will be displayed in the current browser window. To
change this, you must specify another target for the link.
_self - Default. Opens the document in the same window/tab as it was clicked
Example
Use target="_blank" to open the linked document
in a new browser window or tab:
Example
<h2>Absolute URLs</h2>
<p><a href="https://www.w3.org/">W3C</a></p>
<p><a href="https://www.google.com/">Google</a></p>
<h2>Relative URLs</h2>
<p><a href="html_images.asp">HTML Images</a></p>
<p><a href="/css/default.asp">CSS Tutorial</a></p>
HTML Links - Create Bookmarks
Example
First, use the id attribute to create a bookmark:
• To create a bookmark - first create the bookmark, then add a link to it.
• When the link is clicked, the page will scroll down or up to the location with
the bookmark.
HTML Links - Create Bookmarks
Example
First, use the id attribute to create a bookmark:
Example
<a href="#C4">Jump to Chapter 4</a>
HTML Links - Create Bookmarks
Example
An unordered HTML list: An ordered HTML list:
An unordered list starts with the <ul> tag. Each list item starts with
the <li> tag.
The list items will be marked with bullets (small black circles) by
default:
Example
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
Ordered HTML List
An ordered list starts with the <ol> tag. Each list item starts
with the <li> tag.
Example
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
HTML Description Lists
The <dl> tag defines the description list, the <dt> tag defines the term
(name), and the <dd> tag describes each term:
Example
<dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>
HTML List Tags
Tag Description
<ul> Defines an unordered list
<ol> Defines an ordered list
<li> Defines a list item
<dl> Defines a description list
<dt> Defines a term in a description list
<dd> Describes the term in a description list
HTML Uniform Resource Locators
scheme://prefix.domain:port/path/filename
URL - Uniform Resource Locator
Explanation:
scheme - defines the type of Internet service (most common is http or https)
port - defines the port number at the host (default for http is 80)
path - defines a path at the server (If omitted: the root directory of the site)
Sample Sections
1. Some personal data
2. Achievements
3. Skills
4. Educational Attainments
5. Training/Workshop Attended
Note: you can exclude sensitive data.
What to submit?
1. LIVE WEB LINK
2. SHAREABLE GOOGLE DRIVE LINK (lastname_firstname_casestudy1_2022.zip)
[access note: Anyone with the link]
2.1. HTML, CSS (OPTIONAL: JS and Bootstrap)
2.2 Screenshots (Folder)