Thursday 2 July 2015

HTML & CSS

HTML (Hypertext Markup Language) and CSS (Cascading Style Sheets) are two of the main technologies for creating Web pages. HTML provides the structure of the page, the CSS design (visual and auditory), for a variety of devices. With graphics and scripts, HTML and CSS are the basis for creating websites and web applications. More information below on:

What is HTML?

HTML is the language for describing the structure of Web pages. HTML gives authors the means to:

     Publish online documents with headings, text, tables, lists, photos, etc.
     Retrieve online information via hypertext links, at the click of a button.
   Design forms for conducting transactions with remote services, for use in searching for information, making reservations, ordering products, etc.
     Include spread sheets, video clips, sound clips and other applications directly in their documents.

With HTML, the authors describe the structure of the pages by brands. The elements of the pieces of the language content label as "point", "list", "table", and so on.

What is XHTML?

XHTML is a variant of HTML that uses the syntax of XML, the Extensible Markup Language. XHTML has all the same elements (paragraphs, etc.) as the variant of HTML, but the syntax is slightly different. Because XHTML is an XML application, you can use other XML tools with it (such as XSLT, a language for transforming XML content).

What is CSS?

CSS is the language to describe the presentation of Web pages, including color, design, and fonts. It allows one to tailor the presentation to the different types of devices, such as large screens, small screens or printers. CSS is independent of HTML and can be used with any markup language based on XML. The separation of HTML CSS makes it easier to maintain sites, style sheets through pages and pages share as for different environments. This is known as the separation of structure (or: content) display.

What is Web Fonts?


Sources Web is a technology that allows people to use fonts in demand over the Internet without installation into the operating system. W3C has experience with downloadable fonts through HTML, CSS2, and SVG. Until recently, downloadable fonts have not been common in the web due to the lack of a source format interoperable. The effort Web Fonts plans to address that by creating an open source format supported by the industry for the Web (called "WOFF").

Examples:

The following simple example of a portion of an HTML document shows how to create a link within a paragraph. When rendered on the screen (or a voice synthesizer), the link text will be "final report"; when someone activates the link, the browser will retrieve the resource identified by "http://www.example.com/report"

<P class = "more info"> for more information, see
<a href="http://www.example.com/report"> end </a> report. </ P>

The class attribute in the opening tag of paragraph ("<p>") can be used, among other things, to add style. For example, italicize the text of all paragraphs with a class of "more info," one could write in CSS:

p.moreinfo {font-style: italic}

To place the rule in a separate file, the style can be shared by any number of HTML documents.