3. ABOUT ME● Currently Msc Computer Science
Student, wannabe academician
● Started Career as Linux Systems
Engineer in 2006 after completing
BCA and RHCE
● Worked as LAMP stack developer,
Technical Consultant for startups etc.
● Expertise in Cloud computing,
various open source technologies
etc.
● Founder Cruxsys Technologies
4. HTML
HTML : Hypertext Markup
Language
» HTML documents are made up of tags
» Tags sorround content
» Tags give meaning to the content it
sorround
6. ATTRIBUTES
● Tags can have attributes
● Attributes are specified in the opening
tag
● The values for attributes are given in
quotation marks
eg : <body bgcolor=”lime”>
7. ELEMENTS
● The tags and the enclosed information are
together known as html elements
<p> is a tag
<p>
Hello World
</p>
is an html element
9. HEADINGS
● <h1>, <h2>, . . . .<h6> tags are
used for headings
● they should always be used in order
● For example, an h4 should be a
sub-heading of an h3, which should
be a sub-heading of an h2.
10. PARAGRAPHS AND LINE BREAKS
The <p> tag is used for paragraphs
The <br> tag is used for linebreaks
<p>
Welcome to the workshop<br>
on webdevelopment
</p>
13. LINKS
anchor tag (a) is used to define a link
<a href="index.html">home</a> |
<a href="aboutus.html">about us</a> |
<a href="contact.html">contact</a>
<a href=”https://facebook.com/cruxsys”>
Like us on facebook
</a>
14. LINKS
An anchor can be set to any element in the same page
with an id attribute set.
<p id=”last-stanza”>
Woods are lovely dark and deep, but I have
promises to keep
</p>
<a href=”#last-stanza”>Last Stanza</a>
18. FORMS - input
<input type="text"> - standard textbox
<input type="password"> - textbox for inputting
passwords, characters masked by a special
character like *
19. FORMS - input
<input type="checkbox"> is for checkbox.
can have a checked attribute (<input type="checkbox"
checked>
<input type="radio"> is for radio buttons
can checked attribute.
<input type="submit"> submit button. Submits the form
when clicked
20. FORMS - textarea & select
<textarea rows="5" cols="15">
Lots of text
</textarea>
<select>
<option value=”1”>Option 1</option>
<option value=”2”>Option 2</option>
<option value="3">Option 3</option>
</select>
21. Form elements' name attribute
All form elements should have name attribute
If no name attribute is present they will be
ignored when submitted to the form handling
script
22. Forms - labels
● Each form should have a label
● label tag with a for attribute
<label for="fullname">Name</label>
<input name="fullname" id="fullname">
26. HTML Conclusion
● Putting it all together
● Hands on session
● Further learning resources
http://w3schools.com
http://htmldog.com
https://www.codecademy.com/tracks/web