HTML Introduction


What is HTML?

  • HTML is the standard markup language for creating Web pages.
  • HTML stands for Hyper Text Markup Language
  • HTML describes the structure of Web pages using markup
  • HTML elements are the building blocks of HTML pages
  • HTML elements are represented by tags
  • HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
  • Browsers do not display the HTML tags, but use them to render the content of the page

A Simple HTML Document

<!DOCTYPE html>
<title>Page Title</title>
My First Heading</h1>
My first paragraph.</p>

Example Explained

  • The <!DOCTYPE html> declaration defines this document to be HTML5
  • The <html> element is the root element of an HTML page
  • The <head> element contains meta information about the document
  • The <title> element specifies a title for the document
  • The <body> element contains the visible page content
  • The <h1> element defines a large heading
  • The <p> element defines a paragraph


HTML tags are element names surrounded by angle brackets:

<tagname>content goes here...</tagname>

  • HTML tags normally come in pairs like <p> and </p>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • The end tag is written like the start tag, but with a forward slash inserted before the tag name

Tip: The start tag is also called the opening tag, and the end tag the closing tag.

Web Browsers

The purpose of a web browser (Chrome, IE, Firefox, Safari) is to read HTML documents and display them.

The browser does not display the HTML tags, but uses them to determine how to display the document:

The <!DOCTYPE> Declaration

The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly.

It must only appear once, at the top of the page (before any HTML tags).

The <!DOCTYPE> declaration is not case sensitive.

HTML VersionsSince the early days of the web, there have been many versions of HTML:
HTML         1991
HTML 2.0   1995
HTML 3.2   1997
HTML 4.01 1999
XHTML       2000
HTML5        2014



ADOBE ILLUSTRATOR,5,Advantages of it,14,Android,3,Android App,1,Annoucements,5,Apple,27,Apple TV 2,1,Apps,3,Basic It,23,best rct game,4,best rct version,2,best roller coaster tycoon game,2,Black Desert Tamer,1,Blogger,1,c# tutorials,25,Cloud Computing,1,console,1,Crowdfunding,2,Devices,1,Dock,2,elcapitan,1,Enterprise,1,Excel,1,FaceTime,1,Far Cry Primal,1,Farmville 2,5,Featured,2,Games,13,games for ios,1,Glossary,2,google docs,1,google sheets,1,Html,3,iDevice,5,ios,1,iOS Apps,5,iOS Tweaks,1,iPhone 5,3,iPhone 5S,2,It Tricks,9,jailbreak rct,1,java,1,javascript,1,Just Cause 2,1,leeter hero,1,Mac OS X,8,macos,1,macOS,3,malwares,1,marriage in stardew valley,1,marriage stardew valley,1,Mavericks,1,Microsoft,1,Mount and Warblade,1,New Technology,6,optical character recognition,1,osx,1,php,1,Pillars of Eternity,1,PS4,1,RCT,5,RCT 2,1,RCT 3,3,rct 3 cheat,1,rct 4 hack,1,rct3,1,rct3 cheats,1,rct4,3,rct4 hack,1,RCT4 Mobile,4,rct4 redeem codes 2016,1,rct4 redeem codes 2017,1,roller coaster 3 cheats,1,rollercoaster tycoon 3,1,rollercoaster tycoon 3 money,1,rollercoaster tycoon 3 money cheat,1,Security,1,sierra,1,Sony,1,Sql,1,Stardew Valley,3,Stardew Valley Marriage,1,Store,1,Surface,1,Tamil,2,Tech,1,unflod malware,1,unlimited coins rct 4,1,Webdesign,4,Word,9,Wordpress,3,yosemite,1,Youtube,1,
Lankaitschool | Lanka itschool: HTML Introduction
HTML Introduction
Lankaitschool | Lanka itschool
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy