Hi guys, how are you? I hope you are all fine. Here is an article for you with an introduction to the HyperText Markup Language (HTML).
HTML History
HTML was originally developed by Tim Berners-Lee while at CREN and popularized by Mosaic browser at NCSA. During 1990 with the invention of HTML growth of web increased.
HTML
- HTML is the language for web pages
- HTML stands for HyperText Markup Language
- HTML is not a programming language but a Markup Language
- HTML document made from markup tags that describes the HTML contents
- HTML documents are also called web pages
HTML Tags
- HTML markups are called HTML tags
- HTML tags are keywords surrounded by angled brackets, for example <html>
- HTML tags normally come in pairs, a starting tag and ending tag
- The starting tag contains a less than (<) sign tag name and greater than sign (>), for example <p>
- Ending and closing tags consist of a less than (<) sign followed by a forward slash(/) followed by the tag name followed by the greater than sign (>), for example </p>
Tag example
- <tagname> content </tagname>
- <p> This is a paragraph</p>
HTML Elements
HTML elements contain a starting tag <p> and a closing tag </p> and the contents between them.
- <p> Hi guys i'm Salman Aslman Auther at C# Corner</p>
Requirements
Before you start working on HTML you need the following things.
Web browser
- Google chrome
- Firefox
- Safari
Text Editor
- Notepad
- Notepad+
- Dreamweaver
- TextEdit
Basic Structure of HTML document
A basic HTML document contains a minimum of the following four tags:
- <html>: Main container for HTML document
- <head>: Container for header information
- <title>: Contains a title for HTML document
- <body>: Visible contents of a web page
Step 1: Open Notepad and write the following code.
- <html>
- <head>
- <title>Introduction to HTML</title>
- </head>
- <body>
- Hi Guys me Salman Aslam from C# Corner platform.
- </body>
- </html>
Step 2: Save the document with a .htm or .html extension, for example intro.html.
Step 3: Go to the directory where you saved the HTML document.
Step 4: Double-click the document to open it and view the page you have made.
Output
That's it for today, go and make your first webpage, if you have any problem please comment below. Stay connected to C# Corner and wait for my next tutorials on headings and paragraphs in HTML.
In this article, we studied HTML.