John Ryan B. Lorca Instructor I: (An Introduction)
John Ryan B. Lorca Instructor I: (An Introduction)
(An Introduction)
What is HTML?
Hypertext Markup Language (HTML) A text markup language used to create documents for the web. HTML defines the structure and layout of a web document by using a variety of tags and attributes. The file extension are .html or .htm
HTML Tags
Tags are positioned within the HTML code to apply a certain format It is denoted by <tag_name>, which may have to be closed Example:
<html> ... </html> <br /> -> tag enclosing the HTML code -> line break
<font> tag
<font face=Verdana>some text</font> <font color=red>some text</font>
Relative Path
<img src=images/pic.jpg />
Linking Pages
Links (or hyperlinks) are text or images or other objects that, when clicked, redirects the browser page/location to another page/location Format: <a href=some_page.html>some text</a>
10
<marquee> tag
Makes text, images, or other objects move Directions: up, down, left (default), right Format:
<marquee>some text</marquee> <marquee direction=up>some text</marquee>
12
<blink> tag
Make text blink (only available to Mozilla and some other browsers) Format:
<blink>blinking_text</blink>
13
HTML Table
<table border=1> <tr> <td>some text</td> <td>some text</td> some text some text </tr> <tr> some text some text <td>some text</td> <td>some text</td> </tr> </table>
Web Colors
English Names
red green blue
Hexadecimal
#FF0000 (red) #00FF00 (green) #0000FF (blue)
17
References
www.w3schools.com Microsoft Help Center
18