Introduction To HTML
Introduction To HTML
Introduction To HTML
What is HTML ?
• Hyper Text Markup Language
• Most widely used language on Web to develop webpages
• HTML was created by Berners-Lee in late 1991
• HTML 2.0 was the first standard HTML specification
published in 1995.
• HTML 4.01 was a major version of HTML published in late
1999.
• Currently we are having HTML-5 version which is an
extension to HTML 4.01, published in 2012
Hyper Text Markup Language
Hyper text refers to the way in which Web pages (HTML documents) are linked
together. Thus, the link available on a webpage is called Hypertext.
Example:
<p align=“right”> content </p>
HTML ATTRIBUTES
The below example shows three possible values of align attribute: left,
center and right
HTML Formatting
Side note: all the tags will have a starting tag as
well as an ending tag
Like; <b></b>
HTML Images
• Use ‘img’ tag
• ‘src’ means source of image
• ‘alt’ gives alternate text if the image doesn’t load
successfully.
Example:
<a href="https://www.google.com/"> Visit Google! </a>
<a href="secondPage.html"> Go to second page </a>
HTML Button
<button> tag is used to create a clickable button within HTML form on your
webpage. You can put content like text or image within the <button>…</button>
tag.
There are different types of buttons that includes submit type, reset type, etc.
There are two ways in which you can use a button to link your
webpages
1. <a href=“next.html"> <button> next</button></a>
(the hyperlink will become a button with no highlighted portion )