Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 27

GURU GOBIND SINGH INDRPRASTH UNIVERSITY

NEW DELHI

PRACTICAL FILE
OF
COMPUTER APPLICATIONS-II
(SESSION 2016-19)

SUBMITTED TO SUBMITTED BY
MRS. TEENA K BHATIA RASHI DAD
ASSISTANT PROFESSOR BBA 4 D
Delhi School of Professional 46321701716
Studies & Research Rohini, New delhi-85
INTRODUCTION TO HTML

HYPERTEXT MARKUP LANGUAGE is the standard markup language


for creating web pages and web applications. HTML describes the structure of
a web page semantically and originally included cues for the appearance of the
document.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>
WELCOME TO HTML
</TITLE>
</HEAD>
<BODY>
BODY <BR> OF THE HTML DOCUMENT
</BODY>
</HTML>

USES OF HTML
1) It is very powerful and support variety of features.
2) Text and all places where it is used.
DOCUMENT TAGS- Defines the document type
<!DOCTYPE HTML>
(1) HTML TAG- Defines the HTML document
<HTML>
(2) HEAD TAG- Defines the information about the document.
<HEAD>
(3) TITLE TAG- Defines a title for the document.
<TITLE>
(4) BODY TAG- Defines the document body.
<BODY>

TYPES OF TAG
OPEN TAG- The start tag is called Open Tag.
CLOSE TAG- The end tag is called Close Tag.
INSERTION OF ALL THE TAGS

(1) INSERTION OF BR TAG


Begins a new line without adding extra space between the two lines.
<BR> </BR>
(2) INSERTION OF PARAGRAPGH TAG
Web document are formatted. Additional information on paragraph breaks and
formatting can be found in the Web Publishing Series documents Formatting
Options and Formatting Basics.
<P> </P>
(3) INSERTION OF COMMENT TAG

<--!> </--!>
(4) INSERTION OF BLACKQUOTE TAG
Indents the paragraph or image about one-half inch
<BLACKQUOTE> </BLACKQUOTE>
(5) INSERTION OF PRE TAG
Text in a pre element is displayed in a fixed- width, font and it preserves both
spaces and line breaks.
<PRE> </PRE>
(6) INSERTION OF IMPLICIT TAG
(7) INSERTION OF EXPLICIT TAG
(8) INSERTION OF DIV TAG
(9) INSERTION OF ORDERED LIST
(10) INSERTION OF UNORDERED LIST
(11) INSERTION OF NESTED LIST
(12) INSERTION OF DT AND DD TAG

DT- Defination term


DD- Defination description
(13) INSERTION OF DIR TAG
(16) INSERTION OF MENU LIST

The MENU item produces a list like UL, but it should be rendered more
compact. Not all browsers make this distinction, and some render it
without bullet at all.
(17) INSERTION OF HYPERLINK
(18) INSERTION OF TABLE TAG

 TR STANDS FOR TABLE ROW


 TH STANDS FOR TABLE HEADING
 TD STANDS FOR TABLE DATA
(19)INSERTION OF TABLE TAG WITH VARIOUS
ATTRIBUTES
(14) INSERTION OF BACKGROUND IMAGE
The background attributes specifies a background image for
document.
(15) INSERTION OF IMAGE INTO HTML DOCUMENT
The <img> tag is used to insert the image in the document.
(20) INSERTION OF BASE FONT TAG
The <base font> tag is not supported in HTML. The <base font> tag
specifies a default text-color, font-size, or font-family for all the text in a
document.

You might also like