Followers

Friday, 30 March 2012


Friday, 31 March 2012

XML

What is XML ?


            XML is a markup language for documents containing structured information. XML is a way of adding intelligence to your documents. It lets you identify each element using meaningful tags and it lets you add information ("metatdata") about each element. XML is a syntax for marking up data and it works with many other technologies to display and process information. It looks and feels very much like HTML. 
           A markup language is a mechanism to identify structures in a document. The XML specification defines a standard way to add markup to documents.
 
The design goals of XML, taken from the XML Specification are:
· XML shall be straightforwardly usable over the Internet.
· XML shall support a wide variety of applications.
· XML shall be compatible with SGML.
· It shall be easy to write programs which process XML documents.
· The number of optional features in XML is to be kept to the absolute minimum, ideally zero.
· XML documents should be human-legible and reasonably clear.
· The XML design should be prepared quickly.
· The design of XML shall be formal and concise.
· XML documents shall be easy to create.  
· Terseness in XML markup is of minimal importance. 

XML Vs HTML :


         1.HTML is a markup language for a specific
      purpose (display in browsers)
         2.XML is a framework for defining markup  
            languages.
         3.HTML can be formalized as an XML language
     (XHTML)
         4.XML defines logical structure only.
         5.HTML: same intention, but has evolved into
      a presentation language

XHTML

What is XHTML ?

            XHTML stands for EXtensible HyperText Markup Language and is the next step in the evolution of the Internet. XHTML was developed by the W3C to help web developers make the transition from HTML to XML.
            In general you can get away with more short-cuts, and possibly even less work by using HTML rather then XHTML - nevertheless, we still recommend making an effort to use XHTML code in your Website because of all the long term benefits!


Why XHTML ?

  •  XHTML is  more strict syntax rules has many benefits. 
  •  It also makes your website more easy to maintain, edit, convert and format in the long run.XHTML adopts official XML standard syntax, and is a newer technology with many benefits.
  • Since XHTML is an official standard of the World Wide Web Consortium (W3C).

5 advantages of XHTML over HTML :
 
1. Sustainability.
                    As web applications get increasingly sophisticated and move towards XML the use of   XHTML will be more widespread.

2. Wide range of applications.
                    Due to the large number of applications that XHTML can support it can be used to create  more complex websites. For instance MathML(Math Markup language) SVG(Scalable Vector Graphics)or users own mark up variants can all be supported in XHTML.However browsers that support such applications are few.
    
3. Compatibility.
                  The XHTML documents are written in compliance with the rules of XML,XML processing programmes can therefore convert an XHTML document into PDF,RSS or RFT.This enables you to work with a wide range of file formats.
     
 4. Efficient processing applications.
                   Though the number of browsers that can support XHTML are few and far between the few that are available are quicker thanks to shorter error processing routines. At the moment a greater amount of processing time is spent by browsers on liberal error processing of documents containing malformed HTML markup. This will there reduce the loading time of your pages and downloads will be quicker.

 5. Closing tags    
                  Unlike HTML, all XHTML have closing tags. This is great for beginners and even helps seasoned web design professionals keep up with their work.XHTML makes your source clean and readable which can enhance your appeal as a web design professional. The website appears more professional and this is likely to increase the number of customers. In a nutshell XHTML shows professionalism as opposed to html which is more suited to personal websites.  

 Example Program for XHTML :
    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> This is Basic Structure Of XHTML. </html>

  Output: 

 This is Basic Structure Of XHTML.

Differences Between HTML & XHTML :

       The difference between HTML and XHTML is in their respective syntax - the main differences are discussed in this section.
  • XHTML requires that all Webpages contain the <html>, <head>, and <body> elements, as well as the DOCTYPE declaration, where as in HTML they are not required.
  • XHTML insists on having closing tags for every element, even empty ones, where as HTML often lets you omit them.
  • HTML requires that all attributes be enclosed by quotation marks, where as HTML lets you omit quotation marks, but only around attribute values which consist of only letters, numbers and these characters: - (dash), . (period), _ (underscore) and : (colon).
  • XHTML is case sensitive, where as HTML is not case sensitive. Furthermore XHTML requires that all enumerated attribute values be lower case.

HTML

What is HTML ?

            HTML is a computer language devised to allow website creation. These Website can be viewed by anyone else connect the Internet. It is relatively easy to learn, with the basics being accessible to most people in one sitting; and quite powerful in what it allows you to create.

           The Definition of HTML is Hyper Text Markup Language.
  • Hyper Text : It is the method by which you move around on the web-by clicking on special text called Hyperlinks which bring you to the next page.
  • Markup : It is what HTML tags do to the text inside them. They mark it as a certain type of text.
  • HTML is written in the form of HTML elements consisting of tags enclosed with in  Angular-Brackets (like <html>). 
  • HTML tags most commonly come in the pair like <h>and</h>. First tag is called Starting tag & second tag is called ending tag.
 Example :


<html>
<body>

<h1>This is My First Blog</h1>

<p>My first paragraph.</p>

</body>
</html>

HTML Tags :



                  To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.






Tag Name Browser View
!-- comment Nothing will show (Tip)
A- Anchor Visit Our Site
B Bold Example
BIG Big(text) Example
BODY body of HTML document The content of your HTML page
BR line break The contents of your page
The contents of your page
CENTER center
This will center your contents
DD definition
descriptiont
Definition Term
Definition of the term
Definition Term
Definition of the term
DL definition list
Definition Term
Definition of the term
Definition Term
Definition of the term
DT definition list
Definition Term
Definition of the term
Definition Term
Definition of the term
EM emphasis This is an Example of using the emphasis tag
EMBED embed object
FONT font Example
FONT font Example
FONT font Example
FORM form
Name:
Email:

H1 heading 1

Heading 1 Example

H2 heading 2

Heading 2 Example

H3 heading 3

Heading 3 Example

H4 heading 4

Heading 4 Example

H5 heading 5
Heading 5 Example
H6 heading 6
Heading 6 Example
HEAD heading of HTML document Nothing will show (Tip)
HR horizontal rule
HR horizontal rule
HR horizontal rule
HR(Internet Explorer) horizontal rule
HR(Int




Friday, 30 March 2012


cookies

COOKIES

COOKIES :

                  Website use cookies to offer a personalized experience to users and to gather information about website use. Many websites also use cookies to store information that provides a consistent experience between sections of the site, such as a shopping cart or Customized pages.

How To Delete Cookies In Internet Explorer :

  1. Tools -> internet Options.
               2. General  tab -> Click Settings -> View Files.

               3. Select the Cookie you want to delete and then on the filemenu -> Click Delete.

Types Of Cookies: 

               A Cookie is a file created by on internet site to store information on your Computer. The  Cookies are 4 types. They are,

  1. Persistent Cookies
                         2. Temporary Cookies
   
                         3. First Party Cookies

                         4. Third Party Cookies

 1. Persistent Cookies :


              Persistent Cookies remain on your computer after you close I P. Websites use then to store information, such as your sign-in name and password, so that you don't have to sign in each time you go to  a particular site. Persistent Cookies can remain on your computer for days, months, or even years.

 2. Temporary Cookies:

              Temporary Cookies are removed from your computer after you close internet explorer. Websites use then to store temporary information, Such as items in your shopping cart.

3. First Party Cookies:

              First Party Cookies came from the web site that you're viewing and can be either Persistent or Temporary. Websites might use these cookies to store information that they will reuse the next time you go to that site.

4. Third Party Cookies:

            Third Party cookies come from other websites advertisements (Such as Pop-Up or Banner-ads) on the website that you're viewing. Websites might use these cookies to track your web use for marketing purpose.

HTML

H T M L(Hyper Text Markup Languge)

  1. Version history of html:

November 24, 1995:
HTML 2.0 was published as IETF RFC 1866. Supplemental RFCs added capabilities:
January 1997:
HTML 3.2[14] was published as a W3C Recommendation. It was the first version developed and standardized exclusively by the W3C, as the IETF had closed its HTML Working Group in September 1996.[15]
HTML 3.2 dropped math formulas entirely, reconciled overlap among various proprietary extensions and adopted most of Netscape's visual markup tags. Netscape's blink element and Microsoft's marquee element[13] A markup for mathematical formulas similar to that in HTML was not standardized until 14 months later in MathML. were omitted due to a mutual agreement between the two companies.
December 1997:
HTML 4.0[16] was published as a W3C Recommendation. It offers three variations:
  • Strict, in which deprecated elements are forbidden,
  • Transitional, in which deprecated elements are allowed,
  • Frameset, in which mostly only frame related elements are allowed;
Initially code-named "Cougar",[17] HTML 4.0 adopted many browser-specific element types and attributes, but at the same time sought to phase out Netscape's visual markup features by marking them as deprecated in favor of style sheets. HTML 4 is an SGML application conforming to ISO 8879 – SGML.[18]
April 1998:
HTML 4.0[19] was reissued with minor edits without incrementing the version number.
December 1999:
HTML 4.01[20] was published as a W3C Recommendation. It offers the same three variations as HTML 4.0 and its last errata were published May 12, 2001.
May 2000
ISO/IEC 15445:2000[21][22] ("ISO HTML", based on HTML 4.01 Strict) was published as an ISO/IEC international standard. In the ISO this standard falls in the domain of the ISO/IEC JTC1/SC34 (ISO/IEC Joint Technical Committee 1, Subcommittee 34 – Document description and processing languages).ajmal[21]
As of mid-2008, HTML 4.01 and ISO/IEC 15445:2000 are the most recent versions of HTML. Development of the parallel, XML-based language XHTML occupied the W3C's HTML Working Group through the early and mid-2000s.


What is HTML?

                                      HTML is a language for describing web pages.
  • HTML stands for Hyper Text Markup Language
  • HTML is not a programming language, it is a markup language
  • A markup language is a set of markup tags 
  • HTML uses markup tags to describe web pages.

    Creating an HTML Page:

                                                 A web page is created using a language called, Hypertext Markup Language, better known as HTML Code. You can write your own coding within a plain text editor, such as Note Pad, or use an HTML editor, which will write the code for you.

    HTML codes, also referred to as HTML tags, are enclosed by the lesser than (<) and greater than (>) brackets and may be written in capital or lower case letters.

    The opening bracket is followed by an element, which is a browser command, and ends with the closing bracket.

    <font size=2>

    An element may also be followed by attributes, which are words describing the properties of the element, and further instruct the browser.

    <font size=2>

    Attributes are only contained in the opening HTML tags to the right of the element and are separated by a space and followed by an equal (=) sign.

    The value follows the equal sign and is enclosed in quotes.

    <font size=2>


    Basic HTML Document Code Structure:

                                                    
                                                    Begin writing your HTML tags by creating your document's basic layout. Copy and paste this code into your text or HTML editor.
          structure of html:
     
  • <html>
    <head>
    <title>Your Page Title</title>
    </head>
    </body>

    This area will contain everything that will be visible through a web browser, such as text and graphics. All of the information will be HTML coded.

       For example:

     HTML codes, tags and examples, see the HTML chart below:

                  
    <html> - Begins your HTML document.

    <head> - Contains information about the page such as the TITLE, META tags for proper Search Engine indexing, STYLE tags, which determine the page layout, and JavaScript coding for special effects.


    <title> - The TITLE of your page. This will be visible in the title bar of the viewers’ browser.

    </title> - Closes the HTML <title> tag.

    </head> - Closes the HTML <head> tag.

    <body> - This is where you will begin writing your document and placing your HTML codes.

    </body> - Closes the HTML <body> tag.

    </html> - Closes the <html> tag.

                                  

                                                          



Monday, 19 March 2012

HOW COOKIES ARE WEB

acookies is a file created by aninternal site to store inforamation on your computer

WHAT ARE TEMPORY COOKIES

temporary cookies are removal from your computer
.after you close internal explore web sites
use then to store tempary information such as items in your shopping cost

cookies

change your pricay setting 

block all cookies from all web site will be blockwd
exisiting cookies on your computer
can read by web site

hi this is rams