HTML (HyperText Markup Language) Flashcards
HyperText markup language (HTML)
is the standard markup language for web documents.
Hypertext is text that has links to other text (and today to images, videos, and more). Document markup is special markings in the document that provide additional information about links, formatting, and images. HTML also permits adding metadata like search engine keywords, author information, and language.
The language used for a text file that describes a webpage
HTML
The HyperText Markup Language has text with links (hypertext) to other files on the web.
Web document that is viewed in a web browser.
Webpage
A webpage may link to other webpages.
Collection of related webpages.
Website
A website may be composed of any number of webpages.
A program that serves webpages to browsers.
Web Server
Popular web servers today include Apache, IIS, and nginx.
The protocol for transferring files among computers via the web.
HTTP
Short for HyperText Transfer Protocol. A protocol is a set of rules.
A program for viewing webpages.
Browser
A browser displays HTML files in a formatted way.
Specifies document structure
HTML is used to specify the purpose of each part of a document. Each web browser has a default stylesheet that controls how the page is displayed, but HTML does not specify how the document parts are displayed.
Manages document presentation
CSS consists of a set of style rules about how to display the parts of a document.
Enables document interaction
JavaScript is a programming language that can manage any part of the document and interact with external servers to send and receive information. JavaScript sometimes also runs on web servers.
top-level domains (TLD)
.com
.net
.org
.gov
.edu
country code top-level domain (ccTLD)
.ru(Russia)
.uk(United Kingdom)
.de(Germany)
second-level domain
A second-level domain is commonly an organization’s name as in Stanford.edu, or indicates the purpose of a website as in DoPython.org
Third-level domain
A common third-or-www refers to the organization’s web server. deeper-level domain is www, short for World Wide Web, usually referring to an organization’s web server. Many organizations use www optionally, so stanford.edu by default goes to www.stanford.edu
Third-level and further level domains refer to sub-computer systems local to an organization, as in cs.stanford.edu where the cs is for Stanford’s Computer Science department
URL (Uniform Resource Locator)
is the location of a web resource on the web, such as http://www.cdc.gov/alcohol/faqs.htm
web resource
is any retrievable item, like an HTML file, image, video, CSS stylesheet, etc
Scheme
Characters at the beginning of a URL followed by a colon “:” or a colon and double slashes “://”. Common URL schemes include http, https, mailto, and file.
Ex: In https://www.cdc.gov/alcohol, the scheme is “https”.
Hostname
The complete domain name following the scheme in a URL.
Ex: In https://www.cdc.gov/alcohol, the hostname is “www.cdc.gov”.
Path
The characters to the right of the hostname in a URL.
Ex: In https://www.cdc.gov/alcohol, the path is “/alcohol”.
Query string
Optional characters to the right of the question mark (?) in a URL that provide data for the web server.
Ex: In https://www.youtube.com/watch?v=uu7XCEMdSHg, the characters after the ? tells YouTube’s server to play a video having code uu7XCEMdSHg
Fragment
Optional characters at the end of a URL that start with a hash character (#) and refer to a certain location within a webpage.
Ex: In https://en.wikipedia.org/wiki/#History, the fragment “#History” refers to the webpage’s History section.
404
means that the website was reached (the domain name is valid and the web server is working), but the web server could not find the requested page, often due to a misspelling or out-of-date page link.
HyperText Transfer Protocol (HTTP)
is a networking protocol that runs over TCP/IP and governs communication between web browsers and web servers
Transmission Control Protocol/Internet Protocol (TCP/IP)
is a protocol suite that governs how data packets are transferred over the Internet from one machine to another
Puppies are cute
Humans seem designed to see puppies as cute.
"When in doubt, tell the truth" -Mark Twain.

tag creates a line break in a paragraph. Good practice is to use
when the line break is essential to the content, such as lines in a poem or mailing address, and not just to add spacing for formatting a webpage.
B creates a blank line between A and B. Ex: A B
tag is the fourth level heading of the document's hierarchical structure.
- opening and closing tags. Each list item is surrounded by
- opening and closing tags.
and