1.3.4 - web technologies Flashcards
HTML
Describes the content and structure of a web page.
CSS
Dictate the style and formatting of a web page.
<head>
</head>
Defines the browser tab or window heading area.
<title>
</title>
Defines the text that appears in the window heading area.
Write the html for an image, specifying the height and width.
<img></img>
html to add a link to ‘the website.com’.
<a> the website </a>
html tag for a numbered list
<ol>
</ol>
html tag for an an unordered/ bulletpointed list
<ul>
</ul>
html tag to add an item to any list
<li>
</li>
CSS to make h1 background colour blue
h1 { background-color: blue;}
where does the CSS go in a html document
<head>
<style>
CSS CODE</style>
</head>
CSS to make the font of an ‘intro’ class red
.intro { color: red;}
CSS to make text centered for a class ‘center’ but only for paragraphs
p.center{ text-align: center; }
html to make a paragraph belong to a ‘center’ and ‘large’ class
<p>
</p>
CSS to make background colour of an element with identifier ‘firstname’ yellow
firstname {background-color: yellow; }
2 advantages of processing input data before it is posted to a server
1- The local computer can validate erroneous data before submission to a database
2- A busy server is relieved from having to process everything itself.
JavaScript to assign a variable to an element with the html identifier ‘example’
name = document.getElementByID (“example”)
JavaScript to change the contents of a variable called ‘name’ to “hello world”
name.innerHTML = “Hello World”;
JavaScript to write “hello world” to the document
document.weite (“hello world”);
JavaScript to write hello world in an alert box
alert (“Hello World”);
Web crawler/ spider
Constantly goes out to all the web pages currently on the index, and then goes to fetch all the sites linked to by those sites and so on until they have linked to all of nearly all web pages and resources on the internet.
What are some features (other than Meta tags and descriptions) that affect search results?
1- using keywords in the title tag.
2- age of website
3- date of last update or frequency of updates
4- the number and relevancy of keywords appearing in h1 tags
5- the relevancy of the domain name to the content
Client-side processing
Data is processed on the client computer rather than on the server.
2 advantages of client side processing
1- to lighten load on