CSS
Cascading Style Sheets (CSS) is astyle sheet language used for describing the look and formatting of a document written in a markup language. While most often used to style web pages and user interfaces written in HTML and XHTML, the language can be applied to any kind ofXML document, including plain XML,SVG and XUL. CSS is a cornerstone specification of the web and almost all web pages use CSS style sheets to describe their presentation.[citation needed]
CSS is designed primarily to enable the separation of document content from document presentation, including elements such as the layout, colors, and fonts.[1] 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 complexity and repetition in the structural content (such as by allowing for tableless web design). It obviatesthose portions of markup that would specify presentation by instead providing that information in a separate file. For each relevant HTML element(identified by tags), it provides a list of formatting instructions. For example, it might say (in CSS syntax), "All heading 1 elements should be bold." Therefore, no formatting markup such as bold tags (<b></b>)is needed within the content; what is needed is simply semantic markup saying, "this text is a level 1 heading."
CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or (screen reader) and on Braille-based, tactile devices. It can also be used to allow the web page to display differently depending on the screen size or device on which it is being viewed. While the author of a document typically links that document to a CSS file, readers can use a different style sheet, perhaps one on their own computer, to override the one the author has specified. However if the author or the reader did not link the document to a specific style sheet the default style of the browser will be applied.
HTML links
HTML Hyperlinks (Links)
The HTML <a> tag defines a hyperlink.
A hyperlink (or link) is a word, group of words, or IMAGE
that you can click on to jump to another document.When you move the cursor over a link in a WEB PAGE
, the arrow WILL
turn into a little hand.The most important attribute of the <a> element is the href attribute, which indicates the link's destination.
By default, links will appear as follows in all browsers:
An unvisited link is underlined and blue
A visited link is underlined and purple
An ACTIVE
link is underlined and red
http://www.w3schools.com/html/html_links.asp
No comments:
Post a Comment