Introduction to HTML
--HTML stands for Hyper Text Markup Language
--An HTML file is a text file containing small markup tags
--The markup tags tell the Web browser how to display the page.
--An HTML file must have an htm or html file extension
--An HTML file can be created using a simple text editor.
HTM or HTML Extension?
When you save an HTML file, you can use either the .htm or the .html extension. We have used .htm in our examples. It might be a bad habit inherited from the past when some of the commonly used software only allowed three letters extensions.
Note on HTML Editors.
- You can easily edit files using a WYSIWYG (what you see is what you get) editor like Frontpage, Claris Home Page or Adobe PageMill instead of writing your markup tags in a plain text file.
- But if you want to be skillful Web developer, we strongly recommend that you use a plain text editor to learn your primer HTML.
HTML Elements.
- HTML documents are text files made up of HTML elements.
- HTML elements are defined using HTML tags.
HTML Tags
- HTML tags are used to mark-up HTML elements
- HTML tags are surrounded by the two characters <>
- The surroundings characters are called angle brackets
- HTML tags normally come in pairs like and
- The first tag in a pair is the start tag, the second tag is the end tag
- The text between the start and end tags is the element content.
- HTML tags are not case sensitive, means the same as
- The HTML element starts with a start tag:
- The content of the HTML element is: This text is bold
- The HTML element ends with an end tag:
- The purpose of the tag is to define an HTML element that should be displayed as bold.
0 comments:
Post a Comment