Thursday, 22 September 2016

ntroduction to Html tag, and attribute Types of Html tag ,Using of html attributes

Introduction to HTML Tags
An html tag is a signal to a browser that is should do something other than just through text up on the screen.
By convention all HTML tags begin with an open angle brackets (<) and the end with the close angle brackets (>)
  • Html tags are used to mark up HTML elements
  • Html tags are surrounded by the two character <and>
  • The surroundings characters is called angle brackets
  • Html tags normally come in pair like <b> and </b>
  • The first tag in the pair is the start tags, the second tag is the end tag.
  • The text between the start and end tag is the element content.
  • Html tags are not case sensitive, <b> mean the same as <B>

Types of HTML tags
There are two types of html tage
  1. Paired Tags
  2. Singular tags
Paired tags
     Pair tag is it along with a companion tags. E.g the <b> is the paired tag. The <b> tag with it companion tag </b>cause the text contained between them to be in bold. In pair tags the first tag <b> is the called starting tag or opening tag. And </b> is known as closing tag or ending tag.
Singular tags
The second type of tag is the singular or stand alone tags.
A stand along does not have companion tag or closing tag.
E.g<br> tag will insert a line break. But this tag does not require any companion tag.

Introduction to Tag Attributes.
  • Tag can have attribute Attribute can provide additionalinformation about the HTML element on your page.
  • This tag defines the body body element of your HTML page: <body> with an add bg color attribute. You can tell the browser that the background color of your page should be red like this
  • <body bgcolor=“red”>

Attributes always come in name/value pair like this : name =“value”
Attribute are always added to the start tag of an HTML element.
Quite style, “red” or ‘red’

Attribute value’s should always be enclosed in quotes. Double style quotes are the most common but single style quotes are also allowed.
In some rare situtaions, like when the attribute value it self contains quotes. It is necessary to use single quotes.
Name=‘john”shotgun”Nelson’

Sunday, 18 September 2016

What is HTML5, Basic structure of HTML5, HTML tags

What is HTML
  • HTML is a markuplanguage for describingweb documents (web pages).
  • HTML stands for Hyper Text Markup Language
  • A markup language is a set of markup tags
  • HTML documents are described by HTML tags
  • Each HTML tag describesdifferent document content
Basic structure of HTML5
 <!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>
Explained
  • The DOCTYPE declaration defines the document type to be HTML
  • The text between <html> and </html> describes an HTML document
  • The text between <head> and </head> provides information about the document
  • The text between <title> and </title> provides a title for the document
  • The text between <body> and </body> describes the visible page content
  • The text between <h1> and </h1> describes a heading
  • The text between <p> and </p> describes a paragraph
Using this description, a web browser can display a document with a heading and a paragraph.
HTML Tags
  • HTML tags are keywords(tag names) surrounded by angle brackets:
  • <tagname>content</tagname>
  • HTML tags normally come in pairslike <p> and </p>
  • The first tag in a pair is the start tag,the second tag is the end tag
  • The end tag is written like the start tag, but with a slashbefore the tag name
The start tag is often called the opening tag. The end tag is often called the closing tag.

Web Development HTML5 & CSS3 Lesson 01


Web Designing
Design is the process of collecting ideas, and aesthetically arranging and implementing them, guided by certain principles for a specific purpose.
Web design is a similar process of creation, with the intention of presenting the content on electronic web pages, which the end-users can access through the internet with the help of a web browser.
Fundamental of internet and www concepts
Web
When large number of computer are interconnected with each other then make a web.
The web is the part of internet consisting of various computer exchanging web pages
World Wide Web (WWW)
The part of internet that stores information in multimedia from that is sound, photos, and video as well as text and make the exchange of information easily.
The number of computer connected to the internet world wide is said to to have topped 82 million in 1996 and is predict to reach 300 million by 2003
How does the www work?
1)      Web information is stored in documents called webpages.
2)      Web pages are files stored on computers called web servers.
3)      Computer reading the web pages are called web clients.
4)      Web clients view the pages with a program called a web browser.
5)      Popular browser are internet explorer, Firefox , Google chrome, etc.
Uniform resource locator (URL).
URL is stand for uniform resource locator. It is also called web site address. URL maybe defined as unique way to access the different services on the internet.
The URL is string and character that point to a specific piece of information anywhere on the web.
A URL consists of
1)      The web protocol
2)      the name of the web server
3)      the directory or folder on that server and
4)      the file within that directory
Example http://www.ptv.net.pk
Web Server
It is the specific type of the software and hardware system that provide services to its client.
A web server is the program that waits for browser to request a web page
Web page (Hypertext Documents)
A web page is the documents on Web consisting of an HTML file. The home page, or welcome page, is the main page or first screen you see when you access a website, website and home page tend to be used interchangeably, although a site may have many pages.
For example http://www.hec.edu.pk/scholarship.html
In the above example hec.edu.pk is website or domain name and scholarship  .html is web page
Website (locations of hyperlinked document)
The places you visit on the web are called websites, and the estimated no of such sites through  out the worlds ranges above 1,250,000. A website is the internet location of a computer or server on which a hyper linked document is stored.
Any person in the world who know the web site address can access it.
For example ptv.net.pk, ptcl.com.pk and vu.edu.pk etc.

Thursday, 1 September 2016

Saturday, 27 August 2016

programming

                         

C++ Tutorial

C++ is a middle-level programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs in Murray Hill, New Jersey, as an enhancement to the C language and originally named C with Classes but later it was renamed C++ in 1983. C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.

Execute C++ Online

Try following example using Try it option available at the top right corner of the below sample code 
#include <iostream>
using namespace std;

int main()
{
   cout << "Hello World";
   return 0;
}
C++ is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features.

         Object-Oriented Programming

C++ fully supports object-oriented programming, including the four pillars of object-oriented development:
  • Encapsulation
  • Data hiding
  • Inheritance
  • Polymorphism
  •         Standard Libraries

  • Standard C++ consists of three important parts:
    • The core language giving all the building blocks including variables, data types and literals, etc.
    • The C++ Standard Library giving a rich set of functions manipulating files, strings, etc.
    • The Standard Template Library (STL) giving a rich set of methods manipulating data structures, etc.

Tuesday, 23 August 2016

                  IN THIS BLOG, WE WILL LEARNT ABOUT INTRODUCTION OF COMPUTER HARDWARE&SOFTWARE AND ALSO LEARN ITS COMPONENT.


DEFINITION  OF COMPUTER: 
                     The computer is an electronics device,operating control of instruction  stored in its own memory , that can accept data,process data according to specified rule,produce result and store the data for future use.
     
THE COMPONENTS OF COMPUTER:
     The computer contain many electronic and mechanical component known as  hardware. In components include input & output device communication device,mass storage device and unit system device etc..
     common computer parts are following:
Hardware

  • Mechanical devices in the computer
  • Anything that can be touched

Software

Tell the computer what to doAlso called a programThousands of programs exist

Data

       –Pieces of informationComputer organize and present data

Users
       –People operating the computerMost important partTell the computer what to do
Steps followed to process data
Input
Processing
Output 
Storage  
Hardware categorized into four types:
Processing devices
Memory devices
Random Access Memory (RAM)
Read Only Memory (ROM)
Input and output devices 
Input devices accept data
Keyboard, mouse
Output devices deliver data
Monitor, printer, speaker
Some devices are input and output
Touch screens
Storage devices
Hold data and programs permanently
Different from RAM
Magnetic storage
Floppy and hard drive
Uses a magnet to access data
Optical storage
CD and DVD drives
Uses a laser to access data
Two types
System software
Application software
System software
Most important software 
Operating system
Windows XP
Network operating system (OS)
Windows Server 2003
Utility
Symantec AntiVirus



END OF CHAPTER






o