<html></html>
Creates an HTML document
<body></body>
Sets off the visible portion of the document
<head></head>
Sets off the title and other information that isn't displayed on the Web page itself
<title></title>
Puts the name of the document in the title bar
<a href="URL"></a>
Creates a hyperlink
<p>
Creates a new paragraph
<br>
Inserts a line break
<p align=?>
Aligns a paragraph to the left, right, or center
<ol></ol>
Creates a numbered list
<li>
Precedes each list item and adds a number
<ul></ul>
Creates a bulleted list
<h1></h1>
Creates the largest headline
<h6></h6>
Creates the smallest headline
<img src="name">
Adds an image
CSS
Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation look and formatting of a document written in a markup language. Its most common application is to style web pages written in HTML.
CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colours, and fonts.This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce repetition in the structural content. While the author of a document typically links that document to a CSS style sheet, readers can use a different style sheet, perhaps one on their own computer, to override the one the author has specified.
CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.The CSS specifications are maintained by the World Wide Web Consortium (W3C).
A style rule is made up of three parts, a selector, a property and a value: selector {property : value }
useful one are
selector {color:blue} this would make that line of text blue
selector{font-size12px:} this would make the size of the font the value you have chosen
selector{font-family:"Times New Roman", Times, serif;} this choses the type of font
there are a number of attributes that can be changed a short list would be:
fonts,links,lists,tables,text(colour)and background colours
|
|
|
|
|
|
|
|
A through and well out together summary. Please don't copy chunks of text (e.g from http://en.wikipedia.org/wiki/Cascading_Style_Sheets !!). I only care about your own words. Good examples and plenty of them - well done
ReplyDelete