Intro To WWW + HTML Flashcards
What does a network consist of?
2 or more computers connected for the purpose of communicating & sharing resources
LAN
Connects computers in a single building or connected buildings
WAN
Geographically dispersed: people in east & west Canada can use WAN to link into LAN
Client/server
Refers to comps joined by a network. Can also describe a relationship between 2 comp program. Client makes a request, server fulfils it
Internet protocol
Set of rules that describe how clients & servers communicate over a network
HTTP (Hypertext Transfer Protocol)
Set of rules for exchanging files like text, images, audio, video + multimedia on web
FTP (file transfer protocol)
Set of rules for allowing files to be exchanged on the internet. Moves files from one computer to another.
TCP (Transmission control protocol)
Purpose is to ensure the integrity of network communication
IP (Internet protocol)
Set of rules that controls how data is sent between computers on the internet
DNS (Domain name system)
Associates IP address with text based URLS typed into web browsers
URI (Uniform Resource Identifier)
Identifies a resource on the internet
URL (Uniform Resource Locator)
A type of URI which represents the network location of a resource like a web page, graphic file or MP3 file
TLD (top level domain name)
Broken into several parts which describe a hierarchy.
gTLD (generic top level domain)
3 subtypes of TLDs. Unrestricted (.com/.net/.org/.info) & Sponsored (.gov/.mil/.edu, etc)
ccTLD (country code top level domain)
Are under control of which countries they represent.
Markup languages
Consist of sets of directions that tell browser how to display & manage web docs
HTML (Hypertext Markup Language)
Set of symbols/codes places in a file intended for a web browser.
<!DOCTYPE>
Defines this doc is a HTML doc
<html>
</html>
Root element of an HTML page
Lang
Attribute specifies the language of the element’s content
<head>
</head>
Contains meta info about the HTML page
<title>
</title>
Title of an HTML page
<h1>, etc…
</h1>
Defines heading sizes
<p>
</p>
Defines a paragraph
<!— comment —>
Defines a comment, not visible on live webpage
<br></br>
Defines a break. Empty element. No closing tag.
<hr></hr>
Defines a horizontal rule. Separate text with horizontal line
<blockquote>
</blockquote>
Defines a quote
Is HTML case sensitive?
No, but use lower case to maintain consistency
With tags in HTML, browsers can…
Distinguish between what’s HTML and plain text
HTML attributes are usual written in
Name/value pairs. Name=“value”
How many attributes can HTML have?
All can have, and many attributes
What is the anatomy of a HTML element?
Opening tag, content, closing tag.
<ul></ul>
Unordered list. Tells the browser to not order/number a list. Will use bullet points instead
<li></li>
Means list. These go under <ul>
<em> </em>
Italicizes
<strong> </strong>
Bolds
<ol> </ol>
Ordered lists. Tells browser to number each item
<img></img>
Adds an image. We need to tell it the URL of the image.
<img src =“URL”
Telling the browser where to find the image it’s to display
Alt=“desc of image”
Used at the end of an image url to add descriptions for the blind. Also helps SEO
You can edit the image size by typing…
Width= “number value”.