Web Technologies Flashcards
What is HTML
A programming language used to define and interpret the content of web pages
What is CSS (Cascading style sheets)
- A programming language used to specify the layout and appearance of web pages
- It uses selectors such as classes and IDs
What is JavaScript
A programming language that programs the behaviour of web pages
What are the Two Sections of HTML
- The head - contains the title of the webpage
- The body - contains the content of the webpage
Describe the main HTML Tags
- < html > - All code written within these tags is interpreted as HTML
- < body > - Defines the the main content area of the webpage
- < link > - Used to link to additional files, including CSS stylesheets
- < head > - Defines the browser tab or window heading area
- < h1 >, < h2 >, < h3 > - Heading styles in decreasing sizes
How do you Show the End of a HTML Tag
< /html >
Describe Ordered and Unordered Lists in HTML
- Ordered - < ol > followed by < li >
- Unordered - < ul > followed by < li >
Describe the Extra HTML Tags
- < p > - a paragraph separated with a line space above and below
- < img > - self closing image with parameters (img src = location, height=x, width = y)
- < a > - anchor tag defining a hyperlink
- < div > - creates a division of a page into separate areas each which can be referred to uniquely by name, (< div id= “page” >)
Write the HTML code for a hyperlink
< a href = “booking.htm” > < img src = “ticket.pgn” > < / a>
What are the names of the two methods of applying CSS
- Internal/Embedded CSS - placed inside the style tags and is entered directly into the HTML document
- External CSS - written in a separate document and a link to this style sheet is added to the HTML document
How do you use External CSS in your HTML code
Write within the tag
Describe an Example of CSS Syntax
head{
background-color: #8EJH32
}
body {
background-color: white;
font-family: Arial,
font-size: 20px;
Text-align: center;
}
Is JavaScript interpreted or complied
- JavaScript is interpreted
- This means web pages are interpreted by the browser each time they are loaded
What are the Advantages of using JavaScript
- Javascript is interpreted so is often used to validate input data on the client computer
- Local computer can deal with invalid data before it is sent off to the servers
- Reduces web traffic
What is a Search Engine
A program that searches through a database of internet addresses looking for resources based on criteria set by the client