htmltag.ppt
TRANSCRIPT
Defines the document's body to Defines header 1 to header 6
Defines a paragraph
Inserts a single line break
Defines a horizontal rule Comment Tag The comment tag is used to
insert a comment in the source code. A comment will be ignored by
the browser. You can use comments to explain your code, which can
help you when you edit the source code at a later date. You can
also store program-specific information inside comments. In this
case they will not be visible for the user, but they are still
available to the program. A good practice is to comment the text
inside the script and style elements to prevent older browsers,
that do not support scripting or styles, from showing it as plain
text. Format: Example: 13. 14. Example for basic command: In body
tag In body tag, background color is defined as black and textcolor
is defined as the white. this is the h1 header this is the h2header
this is the h3 header this is the h4 header this is the h5 header
This is the use of "Break" tag
and you will see use of more tags
look at the use of comment tag it is good
This is the use of paragraph tag and you will see use of more tags
The effect of "hr" tag
15. Character Format Tags These tags are used for the formatting of
the text such as underline, bold, italic, font, size, color of the
text. All these character formatting Tags are defined in the table
shown below: Char Format TagDescription Displays bold text
Displays italic text Renders as teletype or mono spaced text
Displays underlined text Displays emphasized text Displays big text
Displays small text Displays strong text Displays subscripted text
Displays superscripted text Defines the direction of text display
Defines the font face, size, and color oftext 16. Tag The tag is
used to make the text bold. Format: ................text.........
Tag The tag displays the italic text. Format:
................text.........; Tag The tag displays the typewriter
text. Format: ................text......... 17. Tag The tag
displays the underlined text. Format: ................text.........
Tag The tag displays the emphasized text. Format:
................text......... Tag The tag displays the big text.
Format: ................text......... 18. Tag The tag displays the
small text. Format: ................text......... Tag The tag
displays strong text. Format: ................text......... Tag The
tag displays text in subscripted format. Format:
................text......... 19. Tag The tag displays
superscripted text. Format: ................text......... Tag The
tag defines the direction of the text. Format:
................text......... Tag The tag defines the font, color,
size of the text. Format: ........text......... 20. Example: for
character tag: < body>This text is bold
This text is strong
This text is big
This text is emphasized
This text is italic
This text is small
this is underlined text
This text contains subscript
This text contains superscript
The use of font tagthis is use of font tag html> 21. 22. Output
Tags These tags are often used to display computer/programming
code. You might be surprised for "how to display the text
containing the spaces, line breaks, programming codes, sample text,
define variable". Do not worry, because in this chapter we are
going to show you how easily you can do easily. So lets start with
these tags: Tag Description Defines preformatted text Defines
computer code text Defines teletype text Defines keyboard text
Defines a variable Defines a definition term Defines the direction
of text display Defines sample computer code 23. .........Tag This
is preformatted text. It preserves both spaces and line breaks. The
pre tag is good for displaying computer code. Format:
.....text..... Example: for i = 1 to 10 print i next i Output: for
i = 1 to 10 print i next i 24. .....text ...... TagThis tag is also
used to display the computer code. But better you use tag. Format:
.....text..... .....Keyboard Input...... TagThis tag displays the
Keyboard Input. Format: ........ Keyboard Input......
......text.... TagThis tag displays the typewriter text. Format:
.....text..... 25. ....sample text... TagThis tag displays the
sample text. Format: .....sample text..... computer variable This
tag defines the computer variable. Format: computer variable
definition term this tag is used for definition term. 26. Computer
code
Keyboard input
Teletype text
Sample text
Computer variable
Note:These tags are often used to display computer/programming code.