Html, shell, css - revision work PDF

Title Html, shell, css - revision work
Author roisin kearins
Course Understanding Programming
Institution Oxford Brookes University
Pages 4
File Size 67.1 KB
File Type PDF
Total Downloads 87
Total Views 157

Summary

revision work...


Description

HTML, shell and CSS HTML= hypertext markup language • hypertext is the way in which web pages are linked together • markup language- HTML is used to ‘mark-up’ a text document with tags that tell a web browser how to structure it to display skeleton/ basic format:- tags =defines document type and html version =encloses complete HTML document and comprises of a header and a body =documents header = used inside of head to mention the document title = documents body which keeps other HTML tags like h1, div, p etc = represents the heading =represent a paragraph DOCTYPE: • to understand version of html used in the document • current version of html is 5 Headings: • different sizes (h1,h2,h3,h4,h5,h6) • h1 is the largest, h6 is the smallest paragraph: • structure text • line break: • • an example of an empty element that does not need an opening or closing tag • there is nothing to go between • a space between the characters br and slash, omit the space, the older browsers have trouble rendering the line break Centering: • puts any content in the center of the page or any table cell horizontal lines: • break up sections of a documents • creates line from current position in document to right margin and breaks line accordingly • empty element preserve formatting: • • preformatted tag entities: •  /  non breaking groups/ spaces • & euro / € = euro • > /> = > • & /& = &

character set: • tag vs element: • element is defined by a starting and ending tag attributes: • defines characteristics of an HTML element • inside of element opening tag • name and a value = attributes • name= property to set • value= value of the property to be set and is always within quotations • case insensitive, but lower case is recommended core attributes: id • uniquely identify elements within the page • useful if have 2 elements of the same name title • suggested title for the element • behaviour depends on element that it carries class • associate element with style sheet • sheet= CSS style • allows to specify CSS rules within an element language • = language attribute Internationalisation attributes: dir • indicate to browser about direction in which the text should flow • ltr =left to right(default) • rtl =right to left lang • indicates main language used in document • been replaced by xml:lang xml:lang • used iso 639 codes such as en for english bold text: • • same as strong text • italic text: • deleted text: • emphasised text: • • italics

abbreviation: • around a title attribute comments: •...


Similar Free PDFs