What is HTML ?
HTML is Hyper Text Mark Up Language. This language basically used for designing a website. It is a client side scripting language. Client Side scripting language need a browser to run the script on client machine.HTML is a case sensitive language means you can write a tag with capital or small letter. In both case it give same result.
Hypertext: It is a text which contains a link to other text.
Mark up: < > This is a mark-ups under which text write which become a tag. Example: <p> Paragraph tag, <b> Bold Tag etc.
HTML Program Structure & Tags:
Whenever you start any tag, you need to close it with slash(/).There are 2 types of tags:
- Which tag need to close are called container tag example :<p>,<b>,<h1> etc.
- Which tag no need to close are called empty tag example :<br>(break tag).
HTML Tags
- <html> This is an initial and important tag without it program is not start.
- <head> It Contain a <title> tag and another <link> & <script> tag which give an information about HTML Page.
- <title> This tag specifies a title for the HTML page which is shown in the browser title bar.
- <body> This tag is a container for all the visible contents, like heading, paragraph, images, hyperlink, table, list, etc.
- <p> Paragraph Tag
- <b> & <strong> Bold tag
- <u> Underline tag
- <font> font tag: It occupy a three attributes like-color,size, face(Writing Style like fonts in MS-Words).
- <br> Break tag
- <center> Center tag help to put the content in center.
- <i> Italic tag
In Font Size you can maximum provide a size 7 , Default size is 3, you can also give a minimum size 1.
Follow the way of writing a program that following have used because <head>,<body> tags are child of <html> tag so they arrange under <html> and <title> tag are child of <head> tag and grandchild of <html> tag so arrange under <head> tag.
Example
<html> <head> <title>HTML</title> </head> <body> <center> <b> <i> <u> <font size="7" face="Arial" color="red"> Computer System </font> </u> </i> </b> </center> <p> <font size="4" face="Times New Roman " color="green"> <p align="justify">A computer is a machine that can be instructed to carry out sequences of arithmetic or logical operations automatically via computer programming. Modern computers have the ability to follow generalized sets of operations, called programs. These programs enable computers to perform an tasks.<br>A "complete" computer including the hardware, the operating system(main software), and peripheral equipment required and used for "full" operation can be referred to as a computer system.</p> </font> </p> </body> </html> </a>
Result:
Thank you for giving good information