SlideShare a Scribd company logo
iFour ConsultancyHTML (Hyper Text Markup Language)
Introduction To HTML
 What Is HTML?
• HTML is a markup language for describing web pages.
• HTML stands for Hyper Text Markup Language, a language with set of markup tags.
• HTML documents are described by HTML tags.
• Each HTML tag describes different document content.
•A markup language is a set of markup tags
•A markup language is a set of markup tags
Software Development Company Indiahttp://www.ifourtechnolab.com
Creating HTML Pages
 An HTML file must have an .htm or .html file extension
 HTML files can be created with text editors:
• NotePad, NotePad ++, PSPad
 Or HTML editors (WYSIWYG Editors):
• Microsoft FrontPage
• Macromedia Dreamweaver
• Netscape Composer
• Microsoft Word
• Visual Studio
Software Development Company Indiahttp://www.ifourtechnolab.com
HTML Structure
HTML is comprised of “elements” and “tags”
• Begins with <html> and ends with </html>
Elements (tags) are nested one inside another:
Tags have attributes:
HTML describes structure using two main sections:
<head> and <body>
<html> <head></head> <body></body> </html>
<img src="logo.jpg" alt="logo" />
Software Development Company Indiahttp://www.ifourtechnolab.com
HTML Code Formatting
The HTML source code should be formatted to increase
readability and facilitate debugging.
• Every block element should start on a new line.
• Every nested (block) element should be indented.
• Browsers ignore multiple whitespaces in the page source, so
formatting is harmless.
For performance reasons, formatting can be sacrificed
Software Development Company Indiahttp://www.ifourtechnolab.com
First HTML Page
<!DOCTYPE HTML>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>This is some text...</p>
</body>
</html>
Test.html
Software Development Company Indiahttp://www.ifourtechnolab.com
<!DOCTYPE HTML>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>This is some text...</p>
</body>
</html>
First HTML Page: Tags
Opening tag
Closing tag
 An HTML element consists of an opening tag, a closing tag and the content
inside.
Software Development Company Indiahttp://www.ifourtechnolab.com
<!DOCTYPE HTML>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>This is some text...</p>
</body>
</html>
First HTML Page: Header
HTML header
Software Development Company Indiahttp://www.ifourtechnolab.com
<!DOCTYPE HTML>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>This is some text...</p>
</body>
</html>
First HTML Page: Body
HTML body
Software Development Company India
Some Simple Tags
Hyperlink Tags
Image Tags
Text formatting tags
<a href="http://www.telerik.com/"
title="Telerik">Link to Telerik Web site</a>
<img src="logo.gif" alt="logo" />
This text is <em>emphasized.</em>
<br />new line<br />
This one is <strong>more emphasized.</strong>
Software Development Company Indiahttp://www.ifourtechnolab.com
Tags Attributes
 Tags can have attributes
• Attributes specify properties and behavior
• Example:
 Few attributes can apply to every element:
• Id, style, class, title
• The id is unique in the document
• Content of title attribute is displayed as hint when the
element is hovered with the mouse
• Some elements have obligatory attributes
<img src="logo.gif" alt="logo" />
Attribute alt with value "logo"
Software Development Company Indiahttp://www.ifourtechnolab.com
Headings and Paragraphs
Heading Tags (h1 – h6)
Paragraph Tags
Sections: div and span
<p>This is my first paragraph</p>
<p>This is my second paragraph</p>
<h1>Heading 1</h1>
<h2>Sub heading 2</h2>
<h3>Sub heading 3</h3>
<div style="background: skyblue;">
This is a div</div>
Software Development Company Indiahttp://www.ifourtechnolab.com
The <!DOCTYPE> Declaration
HTML documents must start with a document type
definition (DTD)
• It tells web browsers what type is the served code
• Possible versions: HTML 4.01, XHTML 1.0 (Transitional or
Strict), XHTML 1.1, HTML 5
Example:
• See http://w3.org/QA/2002/04/valid-dtd-list.html for a list of
possible doctypes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Software Development Company Indiahttp://www.ifourtechnolab.com
The <head> Section
 Contains information that doesn’t show directly on the viewable page
 Starts after the <!doctype> declaration
 Begins with <head> and ends with </head>
 Contains mandatory single <title> tag
 Can contain some other tags, e.g.
• <meta>
• <script>
• <style>
• <!–- comments -->
Software Development Company Indiahttp://www.ifourtechnolab.com
<head> Section: <title> tag
 Title should be placed between <head> and </head> tags
 Used to specify a title in the window title bar
 Search engines and people rely on titles
<title>iFour consultancy – Sustainable Solution
</title>
Software Development Company Indiahttp://www.ifourtechnolab.com
The <body> Section
The <body> section describes the viewable portion of the page
Starts after the <head> </head> section
Begins with <body> and ends with </body>
<html>
<head><title>Test page</title></head>
<body>
<!-- This is the Web page body -->
</body>
</html>
Software Development Company Indiahttp://www.ifourtechnolab.com
<b></b> bold
<i></i> italicized
<u></u> underlined
<sup></sup> Samplesuperscript
<sub></sub> Samplesubscript
<strong></strong> strong
<em></em> emphasized
<pre></pre> Preformatted text
<blockquote></blockquote> Quoted text block
<del></del> Deleted text – strike through
Text Formatting
 Text formatting tags modify the text between the opening tag and the closing tag
• Ex. <b>Hello</b> makes “Hello” bold
Software Development Company Indiahttp://www.ifourtechnolab.com
Hyperlinks: <a> Tag
 Link to a document called form.html on the same server in the
same directory:
 Link to a document called parent.html on the same server in the
parent directory:
 Link to a document called cat.html on the same server in the
subdirectory stuff:
<a href="form.html">Fill Our Form</a>
<a href="../parent.html">Parent</a>
<a href="stuff/cat.html">Catalog</a>
Software Development Company Indiahttp://www.ifourtechnolab.com
 Inserting an image with <img> tag:
 Image attributes:
 Example:
Images: <img> tag
src Location of image file (relative or absolute)
alt Substitute text for display (e.g. in text mode)
height Number of pixels of the height
width Number of pixels of the width
border Size of border, 0 for no border
<img src="/img/basd-logo.png">
<img src="./php.png" alt="PHP Logo" />
19
Software Development Company Indiahttp://www.ifourtechnolab.com
Block and Inline Elements
Block elements add a line break before and after them
• <div> is a block element
• Other block elements are <table>, <hr>, headings, lists, <p> and etc.
Inline elements don’t break the text before and after them
• <span> is an inline element
• Most HTML elements are inline, e.g. <a>
Software Development Company Indiahttp://www.ifourtechnolab.com
The <div> Tag
 <div> creates logical divisions within a page
 Block style element
 Used with CSS
 Example:
<div style="font-size:24px; color:red">DIV
example</div>
<p>This one is <span style="color:red; font-
weight:bold">only a test</span>.</p>
div-and-span.html
Software Development Company Indiahttp://www.ifourtechnolab.com
The <span> Tag
 Inline style element
 Useful for modifying a specific portion of text
• Don't create a separate area (paragraph) in the
document
 Very useful with CSS
<p>This one is <span style="color:red; font-
weight:bold">only a test</span>.</p>
<p>This one is another <span style="font-size:32px;
font-weight:bold">TEST</span>.</p>
span.html
Software Development Company Indiahttp://www.ifourtechnolab.com
HTML Tables
 Tables represent tabular data
• A table consists of one or several rows
• Each row has one or more columns
 Tables comprised of several core tags:
• <table></table>: begin / end the table
• <tr></tr>: create a table row
• <td></td>: create tabular data (cell)
 Tables should not be used for layout. Use CSS floats and positioning styles instead
Software Development Company Indiahttp://www.ifourtechnolab.com
Form Fields
Single-line text input fields:
Multi-line textarea fields:
Hidden fields contain data not shown to the user:
• Often used by JavaScript code
<input type="text" name="FirstName" value="This
is a text field" />
<textarea name="Comments">This is a multi-line
text field</textarea>
<input type="hidden" name="Account" value="This
is a hidden text field" />
Software Development Company Indiahttp://www.ifourtechnolab.com
 HTML is the universal markup language for the Web.
 HTML lets you format text, add graphics, create links, input forms, frames and
tables, etc., and save it all in a text file that any browser can read and display.
 The key to HTML is the tags, which indicates what content is coming up.
HTML Summary
Software Development Company Indiahttp://www.ifourtechnolab.com
Thank you
Software development company indiahttp://www.ifourtechnolab.com

More Related Content

What's hot

Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
casestudyhelp
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introductionc525600
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Ajay Khatri
 
HTML CSS JS in Nut shell
HTML  CSS JS in Nut shellHTML  CSS JS in Nut shell
HTML CSS JS in Nut shell
Ashwin Shiv
 
HTML
HTMLHTML
Css Specificity
Css SpecificityCss Specificity
Css Specificity
manugoel2003
 
Frontend Crash Course: HTML and CSS
Frontend Crash Course: HTML and CSSFrontend Crash Course: HTML and CSS
Frontend Crash Course: HTML and CSS
Thinkful
 
Html5 semantics
Html5 semanticsHtml5 semantics
Html5 semantics
Webtech Learning
 
Html basics
Html basicsHtml basics
Html basics
Vjay Vijju
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
Himanshu Pathak
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
aneebkmct
 
HTML Basic, CSS Basic, JavaScript basic.
HTML Basic, CSS Basic, JavaScript basic.HTML Basic, CSS Basic, JavaScript basic.
HTML Basic, CSS Basic, JavaScript basic.
Beqa Chacha
 
Span and Div tags in HTML
Span and Div tags in HTMLSpan and Div tags in HTML
Span and Div tags in HTML
Biswadip Goswami
 
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
Manoj kumar Deswal
 
HTML Tables
HTML TablesHTML Tables
HTML Tables
Nisa Soomro
 
Document object model
Document object modelDocument object model
Document object model
Amit kumar
 
Images and Tables in HTML
Images and Tables in HTMLImages and Tables in HTML
Images and Tables in HTMLAarti P
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
Hameda Hurmat
 
html-css
html-csshtml-css

What's hot (20)

Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML CSS JS in Nut shell
HTML  CSS JS in Nut shellHTML  CSS JS in Nut shell
HTML CSS JS in Nut shell
 
HTML
HTMLHTML
HTML
 
Css Specificity
Css SpecificityCss Specificity
Css Specificity
 
Frontend Crash Course: HTML and CSS
Frontend Crash Course: HTML and CSSFrontend Crash Course: HTML and CSS
Frontend Crash Course: HTML and CSS
 
Html5 semantics
Html5 semanticsHtml5 semantics
Html5 semantics
 
Html basics
Html basicsHtml basics
Html basics
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
HTML Basic, CSS Basic, JavaScript basic.
HTML Basic, CSS Basic, JavaScript basic.HTML Basic, CSS Basic, JavaScript basic.
HTML Basic, CSS Basic, JavaScript basic.
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 
Span and Div tags in HTML
Span and Div tags in HTMLSpan and Div tags in HTML
Span and Div tags in HTML
 
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
 
HTML Tables
HTML TablesHTML Tables
HTML Tables
 
Document object model
Document object modelDocument object model
Document object model
 
Images and Tables in HTML
Images and Tables in HTMLImages and Tables in HTML
Images and Tables in HTML
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
html-css
html-csshtml-css
html-css
 

Similar to Basics of html for web development by software outsourcing company india

HTML Basics by software development company india
HTML Basics by software development company indiaHTML Basics by software development company india
HTML Basics by software development company india
iFour Institute - Sustainable Learning
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
vaseemshaik21
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
Shagor Ahmed
 
Html basics
Html basicsHtml basics
Html basics
mcatahir947
 
3 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp023 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp02
Aditya Varma
 
An-Introduction-to-HTML
An-Introduction-to-HTMLAn-Introduction-to-HTML
An-Introduction-to-HTML
HatemMagdyMohamed
 
HyperText Markup Language - HTML
HyperText Markup Language - HTMLHyperText Markup Language - HTML
HyperText Markup Language - HTML
Sun Technlogies
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
mmvidanes29
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
vardanyan99
 
If you know nothing about HTML, this is where you can start !!
If you know nothing about HTML, this is where you can start !!If you know nothing about HTML, this is where you can start !!
If you know nothing about HTML, this is where you can start !!
Dr Sukhpal Singh Gill
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
Sun Technlogies
 
How the Web Works Using HTML
How the Web Works Using HTMLHow the Web Works Using HTML
How the Web Works Using HTML
Marlon Jamera
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skills
BoneyGawande
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
Stefan Oprea
 
What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)
Ahsan Rahim
 
Html
HtmlHtml
Basic HTML
Basic HTMLBasic HTML
Basic HTML
Sayan De
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
Altaf Pinjari
 

Similar to Basics of html for web development by software outsourcing company india (20)

HTML Basics by software development company india
HTML Basics by software development company indiaHTML Basics by software development company india
HTML Basics by software development company india
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
 
Html basics
Html basicsHtml basics
Html basics
 
3 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp023 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp02
 
An-Introduction-to-HTML
An-Introduction-to-HTMLAn-Introduction-to-HTML
An-Introduction-to-HTML
 
HyperText Markup Language - HTML
HyperText Markup Language - HTMLHyperText Markup Language - HTML
HyperText Markup Language - HTML
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
If you know nothing about HTML, this is where you can start !!
If you know nothing about HTML, this is where you can start !!If you know nothing about HTML, this is where you can start !!
If you know nothing about HTML, this is where you can start !!
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 
Day1
Day1Day1
Day1
 
How the Web Works Using HTML
How the Web Works Using HTMLHow the Web Works Using HTML
How the Web Works Using HTML
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skills
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
 
Html
HtmlHtml
Html
 
What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)
 
Html
HtmlHtml
Html
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
 

Recently uploaded

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 

Recently uploaded (20)

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 

Basics of html for web development by software outsourcing company india

  • 1. iFour ConsultancyHTML (Hyper Text Markup Language)
  • 2. Introduction To HTML  What Is HTML? • HTML is a markup language for describing web pages. • HTML stands for Hyper Text Markup Language, a language with set of markup tags. • HTML documents are described by HTML tags. • Each HTML tag describes different document content. •A markup language is a set of markup tags •A markup language is a set of markup tags Software Development Company Indiahttp://www.ifourtechnolab.com
  • 3. Creating HTML Pages  An HTML file must have an .htm or .html file extension  HTML files can be created with text editors: • NotePad, NotePad ++, PSPad  Or HTML editors (WYSIWYG Editors): • Microsoft FrontPage • Macromedia Dreamweaver • Netscape Composer • Microsoft Word • Visual Studio Software Development Company Indiahttp://www.ifourtechnolab.com
  • 4. HTML Structure HTML is comprised of “elements” and “tags” • Begins with <html> and ends with </html> Elements (tags) are nested one inside another: Tags have attributes: HTML describes structure using two main sections: <head> and <body> <html> <head></head> <body></body> </html> <img src="logo.jpg" alt="logo" /> Software Development Company Indiahttp://www.ifourtechnolab.com
  • 5. HTML Code Formatting The HTML source code should be formatted to increase readability and facilitate debugging. • Every block element should start on a new line. • Every nested (block) element should be indented. • Browsers ignore multiple whitespaces in the page source, so formatting is harmless. For performance reasons, formatting can be sacrificed Software Development Company Indiahttp://www.ifourtechnolab.com
  • 6. First HTML Page <!DOCTYPE HTML> <html> <head> <title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> Test.html Software Development Company Indiahttp://www.ifourtechnolab.com
  • 7. <!DOCTYPE HTML> <html> <head> <title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> First HTML Page: Tags Opening tag Closing tag  An HTML element consists of an opening tag, a closing tag and the content inside. Software Development Company Indiahttp://www.ifourtechnolab.com
  • 8. <!DOCTYPE HTML> <html> <head> <title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> First HTML Page: Header HTML header Software Development Company Indiahttp://www.ifourtechnolab.com
  • 9. <!DOCTYPE HTML> <html> <head> <title>My First HTML Page</title> </head> <body> <p>This is some text...</p> </body> </html> First HTML Page: Body HTML body Software Development Company India
  • 10. Some Simple Tags Hyperlink Tags Image Tags Text formatting tags <a href="http://www.telerik.com/" title="Telerik">Link to Telerik Web site</a> <img src="logo.gif" alt="logo" /> This text is <em>emphasized.</em> <br />new line<br /> This one is <strong>more emphasized.</strong> Software Development Company Indiahttp://www.ifourtechnolab.com
  • 11. Tags Attributes  Tags can have attributes • Attributes specify properties and behavior • Example:  Few attributes can apply to every element: • Id, style, class, title • The id is unique in the document • Content of title attribute is displayed as hint when the element is hovered with the mouse • Some elements have obligatory attributes <img src="logo.gif" alt="logo" /> Attribute alt with value "logo" Software Development Company Indiahttp://www.ifourtechnolab.com
  • 12. Headings and Paragraphs Heading Tags (h1 – h6) Paragraph Tags Sections: div and span <p>This is my first paragraph</p> <p>This is my second paragraph</p> <h1>Heading 1</h1> <h2>Sub heading 2</h2> <h3>Sub heading 3</h3> <div style="background: skyblue;"> This is a div</div> Software Development Company Indiahttp://www.ifourtechnolab.com
  • 13. The <!DOCTYPE> Declaration HTML documents must start with a document type definition (DTD) • It tells web browsers what type is the served code • Possible versions: HTML 4.01, XHTML 1.0 (Transitional or Strict), XHTML 1.1, HTML 5 Example: • See http://w3.org/QA/2002/04/valid-dtd-list.html for a list of possible doctypes <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Software Development Company Indiahttp://www.ifourtechnolab.com
  • 14. The <head> Section  Contains information that doesn’t show directly on the viewable page  Starts after the <!doctype> declaration  Begins with <head> and ends with </head>  Contains mandatory single <title> tag  Can contain some other tags, e.g. • <meta> • <script> • <style> • <!–- comments --> Software Development Company Indiahttp://www.ifourtechnolab.com
  • 15. <head> Section: <title> tag  Title should be placed between <head> and </head> tags  Used to specify a title in the window title bar  Search engines and people rely on titles <title>iFour consultancy – Sustainable Solution </title> Software Development Company Indiahttp://www.ifourtechnolab.com
  • 16. The <body> Section The <body> section describes the viewable portion of the page Starts after the <head> </head> section Begins with <body> and ends with </body> <html> <head><title>Test page</title></head> <body> <!-- This is the Web page body --> </body> </html> Software Development Company Indiahttp://www.ifourtechnolab.com
  • 17. <b></b> bold <i></i> italicized <u></u> underlined <sup></sup> Samplesuperscript <sub></sub> Samplesubscript <strong></strong> strong <em></em> emphasized <pre></pre> Preformatted text <blockquote></blockquote> Quoted text block <del></del> Deleted text – strike through Text Formatting  Text formatting tags modify the text between the opening tag and the closing tag • Ex. <b>Hello</b> makes “Hello” bold Software Development Company Indiahttp://www.ifourtechnolab.com
  • 18. Hyperlinks: <a> Tag  Link to a document called form.html on the same server in the same directory:  Link to a document called parent.html on the same server in the parent directory:  Link to a document called cat.html on the same server in the subdirectory stuff: <a href="form.html">Fill Our Form</a> <a href="../parent.html">Parent</a> <a href="stuff/cat.html">Catalog</a> Software Development Company Indiahttp://www.ifourtechnolab.com
  • 19.  Inserting an image with <img> tag:  Image attributes:  Example: Images: <img> tag src Location of image file (relative or absolute) alt Substitute text for display (e.g. in text mode) height Number of pixels of the height width Number of pixels of the width border Size of border, 0 for no border <img src="/img/basd-logo.png"> <img src="./php.png" alt="PHP Logo" /> 19 Software Development Company Indiahttp://www.ifourtechnolab.com
  • 20. Block and Inline Elements Block elements add a line break before and after them • <div> is a block element • Other block elements are <table>, <hr>, headings, lists, <p> and etc. Inline elements don’t break the text before and after them • <span> is an inline element • Most HTML elements are inline, e.g. <a> Software Development Company Indiahttp://www.ifourtechnolab.com
  • 21. The <div> Tag  <div> creates logical divisions within a page  Block style element  Used with CSS  Example: <div style="font-size:24px; color:red">DIV example</div> <p>This one is <span style="color:red; font- weight:bold">only a test</span>.</p> div-and-span.html Software Development Company Indiahttp://www.ifourtechnolab.com
  • 22. The <span> Tag  Inline style element  Useful for modifying a specific portion of text • Don't create a separate area (paragraph) in the document  Very useful with CSS <p>This one is <span style="color:red; font- weight:bold">only a test</span>.</p> <p>This one is another <span style="font-size:32px; font-weight:bold">TEST</span>.</p> span.html Software Development Company Indiahttp://www.ifourtechnolab.com
  • 23. HTML Tables  Tables represent tabular data • A table consists of one or several rows • Each row has one or more columns  Tables comprised of several core tags: • <table></table>: begin / end the table • <tr></tr>: create a table row • <td></td>: create tabular data (cell)  Tables should not be used for layout. Use CSS floats and positioning styles instead Software Development Company Indiahttp://www.ifourtechnolab.com
  • 24. Form Fields Single-line text input fields: Multi-line textarea fields: Hidden fields contain data not shown to the user: • Often used by JavaScript code <input type="text" name="FirstName" value="This is a text field" /> <textarea name="Comments">This is a multi-line text field</textarea> <input type="hidden" name="Account" value="This is a hidden text field" /> Software Development Company Indiahttp://www.ifourtechnolab.com
  • 25.  HTML is the universal markup language for the Web.  HTML lets you format text, add graphics, create links, input forms, frames and tables, etc., and save it all in a text file that any browser can read and display.  The key to HTML is the tags, which indicates what content is coming up. HTML Summary Software Development Company Indiahttp://www.ifourtechnolab.com
  • 26. Thank you Software development company indiahttp://www.ifourtechnolab.com

Editor's Notes

  1. Software Development Company India - http://www.ifourtechnolab.com/
  2. Software Development Company India - http://www.ifourtechnolab.com/
  3. 07/16/96
  4. 07/16/96
  5. 07/16/96
  6. 07/16/96
  7. 07/16/96
  8. 07/16/96
  9. 07/16/96
  10. 07/16/96
  11. Software Development Company India - http://www.ifourtechnolab.com/
  12. 07/16/96
  13. 07/16/96
  14. 07/16/96
  15. 07/16/96
  16. 07/16/96
  17. 07/16/96
  18. 07/16/96
  19. 07/16/96
  20. Software Development Company India - http://www.ifourtechnolab.com/
  21. 07/16/96
  22. 07/16/96
  23. 07/16/96
  24. 07/16/96
  25. Software Development Company India - http://www.ifourtechnolab.com/
  26. Software Outsourcing Company India - http://www.ifourtechnolab.com/