1.3.4 Web Technologies Flashcards
1.3.4 A)
What is HTML
Script/language that web pages are written in. HTML allows a browser to interpret and render a webpage
1.3.4 A)
How to open and close HTML tags
<tag> open
</tag>
close
1.3.4 A)
What do the HTML code mean ?
<html>
<body>
<link></link>
<head>
<title>
<h1> , <h2>
<p>
</p></h2></h1></title></head></body></html>
1 ) all code in these tags is intrepreted by html
2) defines the content for main content
3) add links
4) defines brower tab or heading
5) defines text that appears in tab or heading
6)head style in v size
7)defines a para there will be space above and below
1.3.4 A)
What do the HTML code mean ?
<img></img>
<a></a>
<ol> / <ul>
<div>
</div></ul></ol>
1) self closing no need for </img>. <img></img>
2) hyper link
<a> abc link </a>
3) order list is ol , underorder list ul, elements of list defined with <li>
4) divides page into seperate areas refered by unique name <div id = "page" >
1.3.4 A)
What are classes and identifier in terms of webpages
attributes given to elements on a webpage which you wish to style
1.3.4 A)
Whats the diff between class and identifiers
multiple elements across web pages can be assigned to a certain class can be defined within the head of the class or within css style sheet. class defined by full stops
only one element can be associated with a particular indentifier defined w/ a hastag
1.3.4 A)
What is CSS
cascading style sheet is a language used to describe the style of a webpage. CSS can be used to specify how elements work
1.3.4 A)
What are the two types of css
Internal/embedded or external
1.3.4 A)
what is Internal/embedded style sheet
placed inside the style tags and is directly entered directly into HTML doc
1.3.4 A)
What is external style sheet
How to link external
written in a seperate document and a link to this style sheet is added to HTML doc
<link href =”nameofsheet.css” rel =”stylesheet” type =”text/css”
1.3.4 A)
syntax for css
body
{
margine: 0px;
padding: 0px;
backround-color: white;
font-family: x;
font-size: 18px;
text=align: centre;
}
Each sections of css begins with the name of the class/indentifier or elements to be styled follwed by curly brackets within which attributes of the elements are defined