chapter 21-website authoring Flashcards
whats a website
a collection of individual but related web pages,stored on a web serverdisplayed in a browser
whatre the 3 layers of a webpage
content layer (structure of webpage and its content) created using html
-presentation layer- contains styles ,created by css
-behaviour layer-contains actions within webpage in script language
how do you add comments in html
<!-- comment -->
what does html always have to start with
<!DOCTYPE HTML>
<html> </html>
whats the head section
above body and contains elements used in the page that rent displayed, ex attached css and titlesn
whats the body section
contains stucture of page ,content and hyperlinks.
what are the different predefined styles in html
p
li (list)
h1(biggest) to h6 (smallest)
whatre the table tags
<table><thead><th><tfoot><tbody><td><tr>
</tr></td></tbody></tfoot></th></thead></table>
how are table border set
<table> for borders and "" for no borer
</table>
how do you collapse borders
<table>
</table>
how do you make data appear ove rmore than 1 row or table
<td> or <td>
</td></td>
whatre the 2 attributes needed for <img></img> tags
src =”x,jpg” (STORE IN SAME FOLDER) defines name of file and alt text alt=”image of x” used incase image cant be displayed
you can also have style=”width:90px”
whatre the attributes used woth <video></video> and source tags
<video>
your browder doesnt support this type of video
<source></source>
</video>
whatre the appributes used woth audio and source
<audio> your browser doesnt support this type
<source></source>
</audio>
whatre the tags for ordered and unordered lists
<li> title </li>
<ol> <li> info </li></ol>
or
with ul instead of ol