Friday, 30 March 2012

                                           HTML

      HTML Introduction

Web pages are written in HTML a simple language , HTML is short  for Hyper text markup language.
  •  Hyper text is Simple link between two pages .
  • Markup language its is a way of layout information with in a document .
Basically an HTML Document is a plain text file that contains text and nothing else.when a browser opens an html file the browser will look for html codes in the text and use them to change the layout ,insert images,or create link to other pages.
Why HTML:
it is possible to create webpages without knowing anything about the html source behind the page,there are excellent editors on the market that will take care of the html parts .all you need to do is layout the page.however if you want to make it above average in web design.
HTML Tags: 
HTML markup tags are usually called HTML tags
  • HTML tags are keywords surrounded by angle brackets like <html>
  • HTML tags normally come in pairs like <b> and </b>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • Start and end tags are also called opening tags and closing tags.
Html Documents :
  • HTML documents describe web pages
  • HTML documents contain HTML tags and plain text
  • HTML documents are also called web pages
The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page:
 

cookies

                                                                         COOKIES
    some websites store information in a small text file on your computer  this is called cookies.
how to use:    a cookie is  file created by an internet site to store information on your computer  such as  your     preferences when visiting that  site.
              cookies can also store personally identification information.
cookies are four types.They are
1.persistent cookies
2.temporary cookies
3.first-party vs third party cookies
4.unsatisfactory cookies

 Persistent cookies:
                                 persistent cookie is one stored as a file on your computer,and it remains there when
you close internet explorer. The cookie can read by the web site that created it when you visit that site again.
Temporary cookies:
                                A temporary or session cookie is stored only for your current browsing session and deleted from your computer when you close internet explorer.
First-party vs Third party cookies:
First-party cookies:
                                 first-party cookies come from the website that your viewing and either persistent or temporary. websites might use cookies to store information that will reuse the next time you go to that site.
Third party cookies:
                                 Third-party cookies come from other website advertizement on the website that your  are viewing websites might use these cookies track your web use for marketing purpose.
  Unsatisfactory cookies:
                                       
                                         Unsatisfactory cookies are cookies that might allow access to personally identifiable information that could be used for a secondary purpose without your consent.

cookies