Chapter 1
(This section will help you understand basics of HTML, language used to create Websites)
(a) Introduction to HTML : Hypertext Markup Language
- Hypertext - Simple meaning of Hypertext is "texts with link in it". Clicking a word that brings you to a new homepage means you have just clicked a HYPERTEXT.
- Markup Language - Its a programming language used to create text to do something more than just sit on a webpage : it can convert text into images, links, lists, tables and much more.
Introduction to HTML |
- Always write <!DOCTYPE html> on the very first line. This notifies the browser what language its reading (in this course,its HTML)
- Always write <html> on the very next line (this starts the HTML document) and </html> on very last line of your code (this ends the HTML document).
<!DOCTYPE html>NOTES :
<html>
.
.
// any html code..
.
.
</html>
- The <!DOCTYPE html> declaration is not an HTML tag; it is an instruction to the web browser about the HTML version used.
- The <!DOCTYPE html> declaration is NOT case sensitive.
- The <!DOCTYPE html> tag does not have an end tag unlike most of the html tags.
0 comments:
Post a Comment