tag - Answers normally come in pairs like <p> and </p>
The first tag in a pair is the start tag, the second tag is the end tag
The end tag is written like the start tag, but with a forward slash inserted before the tag name
<html> - Answers element is the root element of an HTML page
defines the whole document
<head> - Answers element contains meta information about the document
<title> - Answers element specifies a title for the document
<body> - Answers element contains the visible page content
defines the document body
<h1> - <h6> - Answers elements that defines headings
<h1> defines the most important heading. <h6> defines the least important heading
<p> - Answers element defines a paragraph
HTML - Answers Hypertext Markup Language
It is NOT a programming language.
It is a standard markup language used for displaying content on the internet (via browser).
We are currently using HTML 5.
<!DOCTYPE html> - Answers starts every html page
, indicate that the page is written in HTML.
<a> - Answers defines links
<img> - Answers defines html images
element - Answers everything from the start tag to the end tag
empty elements - Answers HTML elements with no content
ex. <br>
attributes - Answers provide additional information about HTML elements
are always specified in the start tag
usually come in name/value pairs like: name="value"
href - Answers <a _____="https://www.w3schools.com">This is a link</a>
link address is specified in the this attribute
src - Answers The filename of the image source is specified in this attribute
<img _____="img_girl.jpg">
width and height - Answers <img src="img_girl.jpg" ______="500" _______="600">
style - Answers specify the styling of an element, like color, font, size etc.
id - Answers Specifies a unique id for an element
class - Answers attribute that specifies one or more class names for an HTML element.
function - Answers
function scope - Answers
global scope - Answers