What Is HTML
What Is HTML
The text , images, multimedia, and other files can be link all together using HTML.
How to save?
Click File from menu or simply click the save button
Type the filename and use the extension .html or .htm
<html>
<head>
<title> MY FIRST WEB PAGE </title>
</head>
<body>
Very little is needed to make a happy life. It is all within your self, in your way of thinking.
</body>
</html>
– <h1></h1>
– <h2></h2>
– <h3></h3>
– <h4></h4>
– <h5></h5>
– <h6> </h6>
Paragraph tags: ( it creates a space between paragraphs)
• <p> </p>
Text Break tag: (indicates the end of a line of text)
• <br>
• Formatting Text: to apply a font, font color, and font size
• <font> </font>
• <font color=red size=5 face=“arial”> words, sentence, or paragraph </font>
Paragraph Alignment – paragraph can be positioned on the left, right, or center of a browsers display
window.
• <p align=left> </p>
• <p align=right> </p>
• <p align= center> </p>
• <p align=justified> </p>
• To center a title or text you can use:
– <center> </center>
Background color – it is applied to the body of a web page
<body bgcolor = yellow>
• Marquee attributes:
– width indicates up to what part of the screen the text will move in a left to
right direction
animate.
• The physical tags represent specific visual effects which are intended to be reproduced in a
precise manner, and carry no connotation as to their semantic meaning.
• font size <font size = n> and </font> - it changes the font size, can be larger or smaller
• strike-through <strike> and </strike> - it creates a logical highlighting element, a horizontal line
in the text.
• subscript <sub> and </sub> - it creates a subscript characters. Subscripts are used in
mathematical equations or in footnotes.
• superscript <sup> and </sup> - it creates a superscript characters. Superscripts are the text that
appears slightly above the current line.
• code <code> and </code> - tags indicate that the text is to be presented as an example of
programming code.
Image
Table is divided into rows (with the <tr> tag), and each row is divided into data cells
(with the <td> tag).
The letters td stands for "table data," which is the content of a data cell.