Wednesday 1 March 2017

Inserting image or changing color of background and font.

Background color- This attribute allows the user to specify a solid background color.
Where to use- <body bgcolor="red">
you can use any color we want to use.
Background Image-This attribute allows the user to use an image for background.
How to use- <body background="file(image) name opened with any web browser">
Text- This attribute is used to control the color of all normal text in the document. To change text color for a part of page use font tag with a color attribute.
Coding for example-

Result-

Now coding for background image-
See how to open the image with any web browser-
 Result-

Head Tag, Body Tag, Formatting Tag,

The HTML tag tells the browser that this is an html document, you must begin and end in your file with this tag.
Head Tag-
The head tag contain general information like tittle of your document.
Body Tag-
the body tag contains all the content like word, picture and other information.
Formatting Tag-
You can format the text with the help of many formatting tags. Some of them are-
Heading-
heading tags create a heading in the web page there are six heading tags.


 In which <h1> creates the largest text and <h6> create the smallest with a smooth progression between those level-
An example-
Use this coding to check the size.
Result-
 
 As you can see the sizes.
Second example-
Result-

Width Attribute-
This attribute lets you increase the width of a picture and a line.
Height Attribute-
This attribute lets you increase the height of a picture and a line.
E.g.- <hr width="50" height="100">
         <hr width="50%" height="100%">.












HTML and basic concept.

What is HTML ?
HTML extends for hyper text markup language. HTML was developed by scientist Tim Bernerelee in 1980.
HTML is the language to be satisfy the structure of documents to retrieve across the internet using browser programs like- internet explorer or Netscape Navigator mode-Netscape computer fire fox.
What is WWW ?
Network of computer across the world interconnected together on the internet and using the concepts of hyper text mark to link internet sites and information on the internet.
Application of HTML-
We know that HTML is a special language use to create web pages so the only use of HTML is creating web pages. There are many reasons for creating web pages. It may be for commercial use or for personal use.
Under personal use-
(1) We can create web pages for sharing personal information.
(2) We can create web pages for sharing knowledge on any specialized subject with other people.
(3) Web pages are also used to present a resume for jobs.
(4) We can create web-pages for entering readers. It can display short story article some information or any type picture or film etc.
(5) Web pages can be created to display information about any organization.
For commercial use-
(1) With the help of web pages a big company can easily display their information about their products.
(2) Companies can display products and their prices to help readers make up their minds.
(3) Web-pages may be used to advertise jobs of a company.
(4) Official addresses or telephone numbers of a company can be displayed through web pages.

Note- A HTML file should be always saved with extension- .html.
Example-  name.html

Monday 20 February 2017

Attributes- left, right or center.

This attribute lets you place text or picture to the left, right or center.
for example-
As you can see, we can use different alignments shown in the coding. (don't use HTMLADDAS.in in coding)
Result-


Note- Side of the margin without this attribute the browser will take the default as left.




Basic concept- tags, elements.

Tag-
Tags are codes that specify links to other document as well as how the webpages display. Each tag is given a specifies instruction enclosed by angle braces"< >".
The text is written as-
 <command tag> - operating tag.
 </command tag> -closing tag.
Elements-
The words between (< >) these to angle brackets are called elements. These are the coded command within HTML. Elements tell the browsers how to display the web page.
for ex- <hr>, <br>.
<hr> tells browser to display a horizontal rule(line).
<br> tells the browser to skip a line.
Note-
HTML tags are not case sensitive that means you either use lower case or upper case, HTML tags will be the same.
E.g. - <hr> or <HR>.
HTML Structure-
All HTML documents are debited into two main parts-
(a) Head  (b) Body
It goes something like this-you must have the HTML tag<html>, head tag<head>, body tag<body> in every HTML files.