Monday, 12 August 2013

Basic Structure Of HTM L (Hyper Text Markup Language)

1. !DOCTYPE Tag

The Main Part Of tag is the DTD (Document Type Defination) element, which tells the browsers that the document compile with a Particular HTML version. Note: HTML is not case senstive like c and c++ i.e you can write upper case as well as lower case. i.e mean HTml, html,HtMl etc.

2. HTML Tag

This tag is used after the tag and identifies the document as an HTML document. All other tags are included within .< HTML>. and < /HTML>

3. HEAD Tag

This tag contain information about the document, including it's title, script used,style definations and document descriptions.
Syntex: < HEAD> and .< /HEAD>

4. TITLE Tag

This tag gives an HTML document a title by which it is known to browswers and indexing robots.The title does not appear whitin the browser window,since it is visible in the browser's title bar.
syntex: .< TITLE>. and < /TITLE>

5. Body Tag

This tag encloses all tags, attributes and information that one want the browser to display.
Syntex: .< Body> and .< /Body>

Example:
< html>

     
  < head>

    < tilte>

      Here You Put Title Of Your Page It Will Show On The Title Bar.

    < /title>
 
   < /head>
  < /body> 

    Here You Use All Other Tag And Attribute.

  < /body>
 

 
  < /html>  

What Is The Basic Structure Of C++ ???

  • Documentation Section
    It is also known as Comment statement. Here it is non-executive statement. It is use to tell us that which program you will going to perform and it will increase your read ability.
    The sign "//" use for single comment and "/* Your Content*/" Use for more then one comment
  • Preprocessor Directives Or Compiler Directrives Or C++ Processor
    These are the compiler preprocessor statement. Pre-processor statement are divided into two sections. One is called Link Section And Second is Defination Section


  • Link Section \\#include
  • Defination Section \\ #define PI 3.14



  • Global Declaration Section\\ int a,b; before main void()
    We want to declare some variables in the main program as well as in the function sub program having same name. it is used for whole programe. So , we take common variable declaration above the main program is know as Global variable declaration.

  • Main C++ Program Function Called Void Main()
    Void Main() function or program is the C++ program's main structure in which we process some statement
  • Begning The Programe By Using {
    • Local Declaration Or Local Variable Declarartion ;\\int i;
    • Execuation Part Or Executable Statements; \\cout<< & cin>>
    • End Of The Main Program Using }