INTRODUCTION TO HTML
Why Learn HTML?
Originally HTML was developed with the aim of defining the structure of documents such as headings, paragraphs, lists, etc., in order to facilitate the exchange of scientific information between researchers. Today, HTML is widely used to format web pages with the various tags available in the HTML language.
HTML is a must for students and working professionals to be excellent software engineers, especially when working in the field.
I will list some of the main benefits of learning HTML:
Build a website. You can create a website or customize an existing web template if you know HTML well.
Become a web designer. If you want to start your career as a professional web designer doing HTML development. and CSS is a must.
The HTML Tutorial or HTML 5 Tutorial provides basic and advanced HTML concepts.
The major points of HTML are given below:
- HTML stands for Hypertext Markup Language.
- First developed by Tim Berners-Lee in 1990
- HTML is used to build websites and web applications.
- HTML is a widely used language on the Internet.
- We can create a static website using only HTML.
- Technically HTML is a markup language, not a programming language.
To keep you interested in HTML, I'll give you a regular HTML Hello World program.
<title>This is document title</title>
<h1>This is a heading</h1>
HTML is an abbreviation for the Hypertext Markup Language used to build websites and web applications. See The Importance of Hypertext Markup Language and Web Pages.
Hypertext: Hypertext simply means Text in Text. There is a link in the text, this is hypertext. Every time you click a link that leads to a new web page, you click hypertext. Hypertext is a way of linking two or more web pages (HTML documents) with each other
Markup language: a markup language is a computer language used to enforce markup and formatting conventions for text documents. Markup languages make writing more interactive and dynamic. You can convert text to images, tables, links, and more.
A web page is a document usually written in HTML and translated by a web browser.The website can be identified by entering the URL. The web page can be static or dynamic. Only with HTML can we create static web pages.
Description of HTML Example
<!DOCTYPE>: Specify document type or browser instructions in HTML version.
<html > : This tag tells the browser that it is an HTML document. The text between the HTML tag describes the web document. It is a container for all other HTML elements except <!DOCTYPE>
<head>: It should be the first element inside the <html> element, which contains the metadata(information about the document). It must be closed before the body tag opens.
<title>: As its name suggested, it is used to add title of that HTML page which appears at the top of the browser window. It must be placed inside the head tag and should close immediately. (Optional)
<body> : Text between body tag describes the body content of the page that is visible to the end user. This tag contains the main content of the HTML document.
<h1> : Text between <h1> tag describes the first level heading of the webpage.
<p> : Text between <p> tag describes the paragraph of the webpage.
Features of HTML
1) It is a very easy and simple language. It can be easily understood and modified.
2) It may be very smooth to make a powerful presentation with HTML as it has a lot of formatting tags.
3) It is a markup language, so it gives a bendy manner to layout web pages together with the text.
4) It enables programmers to feature a hyperlink at the web pages (through html anchor tag), so it complements the interest of surfing of the user.
5) It is platform-independent due to the fact it may be displayed on any platform like Windows, Linux, and Macintosh, etc.
6) It enables the programmer to feature Graphics, Videos, and Sound to the internet pages which makes it extra appealing and interactive.
7) HTML is a case-insensitive language, because of this that we are able to use tags both in lower-case or upper-case.