Subject: Computer
HTML has not its own text editor and working environment like others programs so we have to use the separate text editor. Start notepad and type the HTML tags to prepare the webpage.
Start> All programs> Accessories> Notepad
Type HTML tags on the notepad system. Notepad system creates a text file which has extension name .txt. So to make a webpage you have to save file with extension HTML.
HTML is a tag based scripting language. The skeleton is its basic structure without it, it cannot be constructed. The minimum requirement for HTML designing and its position in document can be discussed here. The < HTML>and < /HTML> tags are the backbone or main point on which other tags are located. All the elements of HTML is written within < HTML >. We place following tags:< /HTML >
< HTML >
< HEAD > ... < /HEAD >
< TITLE> ... : written within < HEAD> tags.
< BODY>.... < /BODY >
< /HTML >
The is the main body of HTML documents in which applet, multimedia, link and several other elements are placed. We can say that the HTML document has document has following two important sections:
HEAD section contains TITLE. A BODY section contains APPLET section and many other sections.
The TEXT BGCOLOR, BACKGROUND, LINK, VLINK, ALINK are attributes of tags. The TEXT attribute is used to control text color, BGCOLOR is used for background color, BACKGROUND is used for wall-paper (background image) and LINK, VLINK and ALINK are used anchor text color.
These tags are usually used in every wed document. The concept of test tags is basic requirements for any web programmers.
Formatting tags are used to make attractive web page. These tags are called formatting tags. Formatting tags are used to format characters, words or a paragraph.
The Header of HTML documents is controlled by < HN> and TAGS. The value of n ranges from 1 to 6. The largest size of header and H6 is smallest of all.
< HN > ...< /HN >
where N = 1, 2, 3, 4, 5 and 6
Header alignment is also used. Header is aligned to left by default, but it can be aligned center, right or justify.
It is used to move cursor in new line leaving blank space. It is used in the beginning of text. In the way, it is used to separate different paragraph.
< P > ... < / P >
This tag moves the cursor in new line without leaving blank spaces.
Example
Line Break Option Atlantic Bookstore < BR >
Computer Science for School Line Break < BR >
It is used to draw horizontal line to separate section. Its attributes are:
Color: color name
Size: number
Example:
< HR SIZE = "6" COLOR = "RED" > : It draws 6 pixels thick red line.
< CENTER > --- < /CENTER >
< CENTER > is used to place text in central position. The text written within
< CENTER > and < CENTER > is aligned to the central part of document.
Grammar : < CENTER > --- < / CENTER >
© 2019-20 Kullabs. All Rights Reserved.