HTMLintro-4-5-24
HTMLintro-4-5-24
Markup language:making text with more formats and styles(tables, images, links)
Features of HTML
It is easy to learn and easy to use.
It is platform-independent.
Images, videos, and audio can be added to a web page.
Hypertext can be added to the text.
It is a markup language.
Why learn HTML?
It is a simple markup language. Its implementation is easy.
It is used to create a website.
Helps in developing fundamentals about web programming.
Advantages of HTML
HTML is used to build websites.
It is supported by all browsers.
It can be integrated with other languages
like CSS, JavaScript, etc.
Disadvantages of HTML
HTML can only create static web pages. For dynamic web
pages, other languages have to be used.
A large amount of code has to be written to create a simple
web page.
The security feature is not good.
Editors
Notepad
GeeksforGeeks IDE
Brackets
Sublime Text Editor
Atom
Visual Studio Code
Note:
1. It is not a case sensitive (write a code either upper case or lower case)
2. All the files must be saved with .html
3. We don’t need any internet connection
4. We can write a code in any text editor(eg: note pad))
5. Each tag must be enclosed with ending tag(</>)
6. All the html files must be executed in any browser(internet explorer, chrome)
Important tags
<body></body>: to display the content of the web page ( text, heading,table, image etc,…)
2.<Body> tag
attributes
syntax
<body attribute =value>
<body bgcolor=”green”>
<body background=”image “>
Paragraph tag<p>
<p></p>
Attributes
<hr size=”30”>
<hr width=30>
<hr color=”red”>