8:00p EST / 7:00p CST / 5:00p PST
Web Browsers such as:
Code & Text Editors such as:
Online Code Editors such as:
Browser Developer Tools
Version Control: Github, BitBucket
Command Line (aka Terminal)
JavaScript and CSS Frameworks/Libraries
HTML stands for HyperText Markup Language.
HTML is the language that allows us to build websites.
HTML is composed of HTML elements and tags that provide the blueprint for a webpage.
"Under the hood" of a website:
content
.structure
.
<p>A paragraph is your content</p>
<tagname>Content</tagname>
<p>This is a sample paragraph.</p>
The first element on an HTML page is the doctype
, which tells the browser what language to use to read and display the page.
<!DOCTYPE html>
After <doctype>, the rest of the page elements must be contained between a pair of root <html> tags.
<!DOCTYPE html>
<html>
</html>
The <html> tag holds two children tags:
the <head> and <body> tags
<!DOCTYPE html>
<html>
<head>
...
</head>
<body>
...
</body>
</html>
head
tag contains information about the page and this information is primarily for the browser.<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Title of the page </title>
</head>
...
...
</html>
head
tag is not visible on a rendered page to users.head
tag.<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Title of the page </title>
</head>
...
...
</html>
The meta
tag is used to define metadata for an HTML document and can also give additional instruction to the browser about how to display a page.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Title of the page </title>
</head>
</html>
Two other tags found in the head
tag are:
link
: Links a page to internal or external resources such as stylesheets, fonts and moretitle
: Defines the title of a page, which is then displayed on the browser title bar<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link href="style.css" rel="stylesheet" type="text/css" />
<title>Title of the page </title>
</head>
</html>
body
tag holds all of a page's content. Information here is what will be visible to usersbody
tag<!DOCTYPE html>
<html>
<head>
...
</head>
<body>
<p>This is body content which can
be text, images, links, video, etc.</p>
</body>
</html>