Subscribe
Duration : 1 Year
Author : Web Development Tutorials
Price : $10
Tecwallet Funds available: $0
LogIn Forgot password? Create account
OR
Learn HTML with Deep L Sukhwani.
If you are subscribed user, I will answer any of your query related to this course with in 24 hrs.
HTML is the most useful and easiest language in software field. Just go through these video tutorials on HTML language and build your own website with in an hour. Let's get started!
Topics :
A DOCTYPE simply declares the document type for a particular file (It is not a HTML tag). This declaration should be present on the top of your HTML file before you start writing actual HTML “code”.
You really don’t need to think much about DOCTYPEs unless you plan to get to become part of a standards committee that works on creating and standardising DOCTYPE declarations.
Ok, lets go ahead and create a HELLO WORLD web page now using HTML
Topics :
These tags are the base element for any html webpage, and they define how the structure is laid for a particular page.
Head – This tag contains all the head elements for a particular webpage. The content in head tag loads before the body tag. External scripts, CSS files, style files, etc will also go inside head tag.
Title – This defines the title of a web page
Body – This is the actual content of webpage
i – to put a certain text in italics
em – to put emphasis on certain text (generally behaves same as i tag)
div – create a division element on webpage
b – bold the text within <b>..</b> tags
p – create a new paragraph (automatically starts from a new line)
<br /> - put a line break, so that the text following this tag starts on a new line.
Topics:
Lets get started with a hyperlink using <a> tag and <href> attribute of a tag
<a> - Stands for anchor tag
<href> - Href attribute specifies the URL of the page that the link should go to
URL should be the actual link to which the user should be redirected, for eg: in case of google.com the URL must be http://www.google.com
Lets try it in editor
Topics:
<img> - Stands for image tag
<src> - src attribute specifies the source URL of the image within the image tag.
URL should be the actual link from where the browser needs to fetch the image.
The URL should preferably end in image file’s extension such as http://www.example.com/a/1.jpg where .jpg represents the extension of the image.
width/height – These define the dimensions of image to be displayed on webpage
Lets add an image to our HelloWorld.html file and see how it shows up in the browser.
Topics:
<button> - The button tag creates a clickable button in your HTML webpage
There are different types of buttons and it is recommended to mention the button type you intend to use because different browsers have different default button types in case you don’t mention any button type explicitly.
Types of buttons:
button: creates a clickable button
reset: This is used along with a form, it resets all the form values to what they were by default (i.e. before the user entered any values)
submit: This is used along with a form and it submits the form to the desired URL
Lets go ahead and create a Google Custom Search form that allows you to enter a text and as you click on Submit button, it redirects you to Google Search Results for that text
Topics:
<form> - The form tag allows user to create forms using HTML
action – the action attribute of form tag defines the url where that particular form must be submitted.
<input> - The input tag creates input elements on the web page where user can enter information.
Lets play with our Google Custom Search form and learn more about forms in general
Topics:
<table> - The table tag allows user to create tables using HTML
<tr> – tr stands for table rows and it allows users to create table rows.
<td> - td stands for table data and it allows users to enter values / data in the table rows.
<th> - Users can optionally decide to create a heading for table using th tag.
colspan – colspan stands for column span and it allows user to span the table heading across any number of columns of the table.
Lets see how tables work by actually creating a table.
Topics :
<style> - Style attribute lets you define different styling features for any particular element that contains some form of text / image or other data within the tags.
font-family – font-family property changes the font type of text (eg: courier new, arial, etc.)
font-size – changes the size of font (eg: 20px)
color – changes the font color (eg: blue, green, yellow, or hexadecimal values like #FF0000 for a shade of red)
Lets try these different styling attributes.
Topic:
The background colour of a webpage can be changed using attribute bgcolor within the same angular brackets from where the body tag starts.
bgcolor can be given normal colour values (eg: yellow, black, green, etc.) as well as hex values (eg: #FF3300) for a shade of red.
Lets check it out with our sample html file
Comments ( To Post Your Comment Please Login First! )