click below
click below
Normal Size Small Size show me how
web technologies
1.3.4 - web technologies
| Term | Definition |
|---|---|
| HTML definition | Hyper Text Markup Language |
| HTML as a language | A "half-language" used to display elements on a screen (eg, webpages), but can't be used to functionally do something |
| HTML syntax | <action> text <\action> |
| <html> | the container of all other html elements - used to indicate the start and end of a page |
| <link> | Takes an external resource and puts it on the page |
| <head> | used for the metadeta of the document |
| <title> | used for the title used in the browser's title bar |
| <body> | contaienr tag that contains other tags that are displayed on the body of the page |
| <h1> | heading, size one (biggest) |
| <h2> | heading, size two |
| <h3> | heading, size three |
| <img> | used to insert images <img src="[name of image]" alt="[alt text]" width="[pixel width]" height="[pixel height"> |
| <div> | used to split the code into sections which are coded in CSS |
| <a> | used for inserting hyperlinks to external pages |
| <form> | used for setting the data of a variable through user input |
| <input> | used for setting the data of a variable through user input often <input type=“[method of input]” id=“[variable name]” name=“[display text]” |
| <p> | used to indicate the location of paragraphs (plain text) |
| <li> | used for the items in a list |
| <ol> | used to indicate an ordered list (eg numbered) |
| <ul> | used to indicate an unordered list (eg bullet points) |
| <script> | used to indicate a section written in javascript |
| CSS definition | Cascading Style Sheets |
| CSS as a language | a language that allows for the visual manipulation of HTML elements |
| javascript as a language | allows for the controlling/manipulation of data on a website |
| javascript syntax | since it operates as a programming language, it abides by the same OCR rules |
| general java rules | command lines end with ; {} are used to indicate indentions ‘function’ defines functions ‘var’ defines variables for loops are defined as ‘for {start, end, method of change} |
| methods of output | directly using ‘document.write(“text”);’ pop ups using ‘alert(“text”);’ using HTML |
| search engine indexing definition | the ability to rank the possible webpages for a search such that the most probable intended results appear first |
| search engine reasoning | increases the effeciency of searches whilst also internally ensuring that the importance of page is tracked |
| search engine indexing method | via the pagerank algorithm |
| page rank algorithm formula | PR(A) = (1-d) +d(PR(Ti)/C(Ti) + .... PR(Tn)/C(Tn)) PR(A) = the PageRank evaluated at A d = the damping factor C(Ti) = the number of outbound links on page Ti to Tn, where T is a page that links to A |
| web crawlers | bots that search for new webpages so that they can be added to the algorithm by following hyperlinks |
| meta tags | the needed information of a webpage |
| Compression definition | the act of reducing a file size |
| lossy compression | reduces file sizes by a large amount at the cost of some of the data via changing some factor of the file |
| losseless compression | reduces file sizes by a minor amount, but preserves the data |
| lossy file type examples | .mps ..aac .jpeg |
| loseless file type examples | .wavs .png .zip |
| client-server | where one (set of) device(s) have more administrative control than the others and all administrative commands are run through it |
| peer-to-peer | where all devices have the same level of administrative control as each other |
| examples of client-server models | User IDs, passwords and places where access levels need to be controlled (e.g. schools and organisations) |
| examples of peer-to-peer models | Files and programs stored on individual computers or home-based systems |
| advantages of client-server models | Backup is centralised and usually automated No access to other users’ files |
| advantages of peer-to-peer models | cheap to use each component can work as a client and server once needed Can be used for sharing files such as music |
| examples of clients | computers, phones, gaming consoles, tablets etc |