Welcome to Code to skill. This is a full course of HTML. HTML is the language you write Web pages in, and if you want to create web pages, you have come to the right place. This course is packed with all that you need and full web development course. In this post we know about what is html? HTML introduction, html example with their description, history of html and how to run html code?
HTML Introduction
HTML is the language you to tell Web browsers how to display your web page, and once you have master the basics, you will soon be creating web terrific Web pages
HTML is sometimes called a programming language but it has no logic, so is a markup language.
HTML tags provide semantic meaning and machine-readability to the content in the page. We can say that HTML is a markup language which is basically use for arranging and managing text on web pages.
What is HTML?
HTML (Hypertext Markup Language) is the language you use to create Web pages. Left to themselves, Web browsers would take the text and images in your Web page and wrap them up into what looks like a single paragraph without any line breaks. With HTML, you act much like an editor does, marking up a page to indicate its format, telling the Web browser where you want a new line to begin or how you want text or images aligned, and more. In other words, HTML is all about specifying the structure and format of your Web page.
What is HyperText?
HyperText means “Text within Text”. A text has a link within it, is a hypertext. Whenever you click on a link which brings you to a new webpage, you have clicked on a hypertext. HyperText is a way to link two or more web pages (HTML documents) with each other.
What is Markup language?
A markup language is a computer programming language. It is used to apply layout and formatting conventions to a text document. Markup language makes text more interactive and dynamic. It can turn text into images, tables, links, form etc.
What is web page?
A web page is a document which is commonly written in HTML and translated by the web browser with the help of browser engine. A web page can be identified by entering an URL. A Web page can be of the static or dynamic type. We can create static web pages with the help of HMTL only.
HTML Example-
<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Welcome to My Page!</h1>
<p>This is a simple example of HTML.</p>
</body>
</html>
OUTPUT :-
Description of HTML Example
<!DOCTYPE>: – It tells the browser that the document is written in HTML5, the latest version of HTML.
<html > :This tag informs the browser that it is an HTML document. The tag is one of the fundamental building blocks in HTML. It denotes the beginning and end of an HTML document, encapsulating the entire content that makes up a webpage
<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. By using this tag we connect CSS and JavaScript etc. file in html document
<title>: It is used to add title of that HTML page which appears at browser’s title bar or tab. It must be placed inside the head tag and should close immediately.
<body> : It 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.
History of HTML
- 1989– Tim Berners-Lee proposes to CERN a distributed hypertext system to manage the loss of information about complex evolving systems, calls it “Mesh”.
- 1990 – Tim Berners-Lee and Robert Cailliau propose a HyperText Project to access information as a web of nodes in which the user can browse at will. They call it World Wide Web.
- 1991 – Viola WWW becomes the fist web browser to support style sheets, tables, and nest- able tables.
- 1993 – Tim Berners-Lee and Daniel Connolly introduce HTML.
- 1994 – Hákon W Lie, a Norwegian engineer working with Tim and Robert, writes the first draft proposal for Cascading Style Sheets (CSS).
- 1997 – HTML tables are prevalently used to design web page layouts.
- 1999 – Web Content Accessibility Guidelines. advise against usage of Tables for layout design.
- 2003 – Opera browser implements “small screen mode”, demonstrating that layout tables are not a barrier to. display.
- Current version – HTML 5 was published in January 2008. Adoption of HTML 5 was gradual between 2008 and 2012, and then steady. HTML 5 was finally issued as a W3C Recommendation in 2014.
How to run HTML code
TO run html code you have to follow these steps :-
- At first – open the notepad (you can use any text editor) by pressing window + R .
- Then – you will see Run dialog window, in this dialog window you have to type “notepad” and press enter.
- After it – You write the code or copy past the code and save the file by giving .html extension
- Then – you double – click on file you will see output on browser