1.3.4: Web Technologies Flashcards
What does the tag <html> mean?
- All code written within the tags is interpreted as HTML
What does the tag <body> do?
- Defines the content in the main content area of the webpage
What does the tag <link></link> used for?
- Linking additional files, including CSS stylesheets
What does the tag <head> do?
- Defines the browser tab or window heading area
What does the tag <title> do?</title>
- Defines the text that appears with the tab or window heading area
What are the tags <h1> <h2> <h3>?
- Heading styles in decreasing sizes
What does the tag <p> do?
- Defines a paragraph separated with a line space above and below
What is the tag <img src=”source”, height=x, width=y> used for?
- Images
- Self closing tag: No need to include </img> when in use
What is the tag <a>?</a>
- An anchor tag that defines a hyperlink with the location parameter
- Laid out in the following form:
<a> link text </a>
When is the tag <ol> used?
- To define an ordered list
When is the tag <li> used?
- To define each element within the (Ordered or Unordered) list
When is the tag <ul> used?
- To define an unordered list (Bullet points)
When is the tag <div> used?
- To divide the page into separate areas, each of which can be referred to uniquely by name
- <div>
</div>
What are Classes and Identifiers?
- Attributes given to elements on a webpage which you wish to style in a particular way
What is the syntax that CSS has to follow?
body
{
margin: 0px;
padding: 0px;
background-colour: white;
font-family: Arial, Helvetic, sans-serif;
font-size: 18px;
Text-align: center;
}
What are the advantages of using JavaScript?
- Local computer can deal with invalid data before it is sent off to the servers
- Eases the load on busy servers
- Reduces web traffic
How do Search Engines work?
- They rely on an index of web pages
- Web crawlers (Spiders) collect information about websites to build the index
What is a Search Engine?
- A program that searches through a database of internet addresses looking for resources based on a criteria
What do Web Crawlers (Spiders) collect?
- Keywords and phrases from the linked web pages and add the information to the index
- Also collect metadata from websites (Information specified by the web owner)
What does the PageRank Algorithm do?
- Determine the order in which web pages are displayed when a search is conducted
- Higher ranked pages show up first
What is the first factor that determines the rank of a page?
- How many incoming links it has from other pages
What is the second factor that determines the rank of a page?
- The page rank of the web pages that link to it
What else do modern Search Engines use to determine the order in which pages are displayed?
- The age of the web page and how quickly the web page loads
What is Server Side Processing?
- When a client sends data to a server for it to be processed
What does Server Side Processing mean?
- No information is processed on the client computer
What are common Server Side Processing scripting languages?
- SQL
- PHP
Why is Server Side Processing useful?
- Does not require plugins
- Can perform large calculations much faster than clients
- Not browser dependent
- More secure
What is Client Side Processing (Client Side Scripting)?
- When a client processes the data on a local device
What does Client Side Processing (Client Side Scripting) mean?
- All the information is processed on the client computer
What languages does Client Side Processing (Client Side Scripting) use?
- JavaScript
Why is Client Side Processing (Client Side Scripting) useful?
- Webpage can immediately respond to user actions
- Executes quickly
- Gives developers more control over the behaviour and look of the website