Saturday, July 29, 2006

Web Page Basics

Some basic things about the web page which might be useful for the freshers while preparing for their interview

HTML
HyperText Markup Language is a simple markup language used to create platform-independent hypertext documents on the World Wide Web.
Most hypertext documents on the web are written in HTML.


Cascading Style Sheets (CSS)
CSS are a standards-based mechanism for suggesting presentational style (e.g., fonts, colors, layout) for HTML documents.
CSS is flexible and cross-platform, and is designed to preserve the accessibility of the document's structural content (even when all or part of the author's style sheet is ignored).
A single style sheet can be used by multiple documents to suggest a common cohesive style, which is more efficient than using repetitive presentational markup in each individual document.

SGML
Standard Generalized Markup Language is a language used to define the syntax of markup languages.
HTML is an SGML application (a markup language defined in SGML)

XML
Extensible Markup Language is another language used to define the syntax of markup languages.
XML is a subset of SGML, and is designed to represent arbitrary structured data in a text format.
XSL is a stylesheet language for styling XML documents.

XHTML
Extensible HyperText Markup Language reproduces, subsets, and extends HTML, reformulated as an XML application

SSI ("SHTML")
Server-Side Includes allow various directives (e.g., to include the content of another file) to be embedded within web documents.
The web server processes SSI directives each time a document that uses SSI is retreived.
Documents that use SSI are often identified with a .shtml filename extension, but there is no "SHTML" language as such.
Implementation details vary among web servers; consult your server documentation for details

CGI (Common Gateway Interface)
Common Gateway Interface is a standard interface between external programs and web servers.
Unlike static HTML documents, CGI programs can produce dynamic information based on form data submitted by the user, on information in a database, or on any other data available to the program

PHP (Hypertext Preprocessor)
Hypertext Preprocessor is a general-purpose cross-platform scripting language.
PHP is often used for embedded server-side scripts in dynamic web pages.

What is a DOCTYPE?
According to HTML standards, each HTML document begins with a DOCTYPE declaration that specifies which version of HTML the document uses. Originally, the DOCTYPE declaration was used only by SGML-based tools like HTML validators, which needed to determine which version of HTML a document used (or claimed to use).


How can i get my domain name ?
The Internet Corporation for Assigned Names and Numbers (ICANN) maintains a list of accredited registrars .
Any of the companies on this list can register a domain name for you


Getting Indexed by Search Engines
If you want to list your site, when the user searches specfic words in search engine

a) Search engines index the textual content of your site, so use a meaningful <TITLE>, use meaningful headings (<H1>, <H2>, and so on), and provide meaningful ALT text for images.
b) If you include a <META NAME="description" CONTENT="..."> tag in the <HEAD> part of your documents, then some search engines will use the content of this tag as your site's description when displaying search results. This won't affect your ranking in searches, but it can help search engine users understand what your site offers when a search does find your site.

No comments: