Learn C language

Easy to learn C language tutorials

Learn C++ language

Easy to learn C++ language tutorials

Learn Core Java language

Easy to learn Java language tutorials

Learn HTML

Easy to learn HTML tutorials

Learn CSS

Easy to learn CSS tutorials

Learn ASP.NET

Easy to learn ASP.NET tutorials

Wednesday, June 18, 2014

[HTML PROGRAM] css tutorial [beginner ] : what is css?

What is CSS ?

  • CSS stands for Cascading Style Sheets
  • Styles define how to display HTML elements
  • Styles were added to HTML 4.0 to solve a problem
  • External Style Sheets can save a lot of work
  • External Style Sheets are stored in CSS files.
CSS is used to control the style and layout of multiple web pages all at once.


why we need css in html ?

HTML was never intended to contain tags for formatting a document.

HTML was intended to define the content of a document, like:

<h1>This is a heading</h1>

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

When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process.

To solve this problem, the World Wide Web Consortium (W3C) created CSS.

In HTML 4.0, all formatting could be removed from the HTML document, and stored in a separate CSS file.


Monday, August 12, 2013

[Part-13] HTML : Div Tag

Read my previous tutorial if you have not read yet.

In this post you will learn about <div> tag, it is used to define a section in an webpage and group the elements to arrange them with CSS.


Let's Start: 

  • Below are the HTML code to see the use of <div> tag. You have to save it and then run the saved file.
  • After running the file you will noticed that some text appears in blue color, this happens because we have written elements inside the <div></div> and we have applied CSS on <div> to change the color.
  • We will discuss CSS very soon.


HTML Code :-


Sunday, August 11, 2013

[PART-6] JAVA : if else statement

if else statements are condition statements.
These are used to give conditions.

Syntax:
1.)   if( any condition )
      { Statement };


2.) if( any condition )
     { Statement };
     else
     { Statement };

3.)if(any condition)
    { Statement };
    else if(any condition)
    { Statement };
    else
    { Statement };





Eaxamples :

if


if-else


if - else if - else

 


[HTML Program] - Iframes


[HTML Program] - Frame Set


[HTML Program] - Usemap


[HTML Program] - Form