Professional Documents
Culture Documents
Created by
InfotechAus
HTML
is Hypertext Markup
Language. HTML is the language
for describing the structure of
web pages.
It is provides the structure of the
page, CSS the (visual & aural)
layout, for a variety of devices.
And XHTML is a variant of HTML
that uses the Syntax of XML.
History of HTML
In 1989, Berners-Lee wrote a
memo proposing an Internetbased hypertext system. BernersLee specified HTML and wrote
the browser and server software
in late 1990.
HTML Versions
Version
Year
HTML
1991
HTML 2.0
1995
HTML 3.2
1997
HTML 4.01
1999
XHTML
2000
HTML5
2014
<!DOCTYPE html>
<html>
<body>
Website Development Services Melbourne
</body>
</html
Try it Yourself
documenttype
declaration.
<html> is the Opening Tag
</html> is the Closing Tag
<body> and </body> is
the main content of the
document
that
will
appear in the browser
window.
HTML Attributes:
All HTML elements can have attributes
Attributes provide additional information about an
element
Attributes are always specified in the start tag
Attributes usually come in name/value pairs like:
name="value"
Lang Attribute:
The
language of the
document
can
be
declared in the <html>
tag.
The language is declared
with the Lang attribute.
<!DOCTYPE html>
<html lang=en-US>
<body>
Website Development Services Melbourne
</body>
</html
Try it Yourself
Title Attribute:
Here, a title attribute is
href Attribute:
HTML
<!DOCTYPE html>
<html>
<body>
<h2>Asha</h2>
<p title=website development services
melbourne"></p>
InfotechAus is a web development company
</body>
</html>
Try it Yourself
<!DOCTYPE html>
<html>
<body>
<a href="http://www.infotechaus.com.au">website
development services melbourne</a>
</body>
</html>
Try it Yourself
Size Attribute:
HTML images are defined
<!DOCTYPE html>
<html>
<body>
<img src=
http://infotechaus.com.au/images/responsive-webdesign.jpg width="104" height="142">
Alt Attribute:
The alt attribute specifies an
alternative text to be used,
when an image cannot be
displayed.
The value of the attribute can
be read by screen readers. This
way, someone "listening" to
the webpage, e.g. a blind
person, can "hear" the
element.
</body>
</html>
Try it Yourself
<!DOCTYPE html>
<html>
<body>
<img src="http://infotechaus.com.au/images/responsiveweb-design.jpg " alt="website development services
melbourne.com" width="104" height="142">
</body>
</html>
Try it Yourself
Attribute
Id
Description
identifies a unique element.
The value of id can be used
by CSS or JavaScript to
reference that element.
Used to reference elements,
by CSS, for example. Any
number of elements can
have the same value (unlike
id).
Applies inline CSS.
Possible Value
Text, excluding spaces.
The value of the id attribute
must be unique.
Dir
Translate
Class
Style
Accesskey
Tabindex
Space-separated list of
characters.
Integer.
Table
Forms
Tr,td,th,caption
Table
tbody
thead
tfoot
Col/colgroup
Form,input
textarea
Select
option
Datalist
Label,fieldset
Metadata
Sections
Grouping
Text
Head
Title
Base
Link
Meta
style
Body
Article
Section
H1-H6
Header/footer
address
P
Pre
Blockquote
Ol,figure,hr
ul, dt, div,
Li, dl, dt dd,
a,em
Strong
Data,time
Code,var,samp
Mark,ruby,rb
Rt,rp,rtc,bdi
Physical address:
Gaffney street, Pascoe Vale
Melbourne VIC 3044 Australia
Email Address:
info@infotechaus.com.au
Website Address:
http://infotechaus.com.au/
Contact No:
+61 8946 80446
Skype Id:
nileshpujara90