Wednesday, 23 September 2015

SETS AND INTERSECTION



Sets- a set in an unordered collection of distinct object. The object in a set are called ELEMENTS or Members of the set. A set is said to contain its element.

A set can be defined by simply listing its memmebrs inside the curly braces, for example the set {2,4,17,23} is the same as the set {17,4,23,2}.

If we want to specify a long sequence that follows a pattern we can use the elipsis notation- which means "Fill in using the pattern" the elipsis is often used  after two or more members of the sequence and before the last one, as follows

{1,2,3,4.............n}

                                                        A U B={X/X    A  U  X ∈  B 
                                                                           ↑       
                                                                                         SET     ELEMENT     OR/UNION



Tuesday, 22 September 2015

Basic Tags


HTML HEADINGS

Are defined with <h1> to <h6> tags:

Example:






HTML PARAGRAPHS

Are defined with <p> tags:

Example:

<p> This is a paragraph.</p>


HTML LINKS

Are defined with <a> tags:

Example:

<a href="http://lorenznote.blogspot.com/"> Lorenz Note</a>


href attribute specifies the destination link.


HTML IMAGES

Are defined with <img> tags:

Example:

<img src="http://www.w3.org/Icons/w3c_home.png" alt="W3c Logo" height= 70 width=100>
 

W3c Logo


The attributes src for the source file, alt for alternate text, and width and height for the size.


HTML Basic Structure


  • <!doctype html>
    • These tag tells the browser that the document type of this file is HTML.
  • <HTML></HTML>
    • Is the start tag and end tag of html file. These tag tells the browser where the document start and end.
  • <head></head>
    • Contains information about the html document and the title
  • <body></body>
    • Body tags contains the visible part of a html document.