The world of the web designing, web development and other web design tutorials.

Slider (DO NOT EDIT HERE!)

Showing posts with label Html. Show all posts
Showing posts with label Html. Show all posts

Tuesday 8 July 2014

Best Guide Of CSS Tables

css tables

Html tables are headache people don't like tables mostly newbie. Styling tables is not difficult as people think but the table need more concentration. Today we going to explore how to style tables with css? Tables are used for tabular data. Today we only discuss basic styling of html table. To learn css tables you must know about the html tables.If you have good knowledge of html and css you don't need to worry.

CSS Tables With Border Property

For adding the border you use border property.
Example;
table, td, th {
border:1px solid green;
}
css tables

CSS Tables With Collapsed Property

 We used collapse property to collapse the border of table and table cell.
Example;

table{
  border-collapse:collapse;
}
css tables

CSS Tables Width And Height Property

you can add the width and height  to the table it is important for styling css tables because with these properties you look more beautiful.
Example;

table{
width:100%;
}
td,th{
height: 60px;
}
css tables

CSS Tables With Padding Property;


You know that the padding property you control space between the element and border. In tables you can use this property to control the table cell.
Example; 
td,{
padding: 20px; }
css tables

CSS Tables With Text Alignment Property


I think you already know why we use this property but i repeat it again. We use the alignment property to move a text right, center and left.
Example;
table {
width:100%;
}
table,td,th{
border: 1px solid black;
}
td {
padding:20px;
    text-align: center;}
css tables

Conclusion:
Now friend you can style simple tables easily. In the future we will design some tables practically.
Please don't forget to share our post with you friends. THANKS FOR READING
Read More...

Monday 30 June 2014

How To Write Semantic HTML

semantic html

Hi Friends
Today we are going to discuss about semantic html writting a semantic html is very useful for the webpage and website. the semantic html means to give the meanig to the content and using right tags in the webpage such as paragraph tag some people use paragraph tags use for creating space between text. it will not give meaning to your content html paragraph should be used only for paragraph another example for it the using of bold tag it is not semantic but we use strong tag instead of bold tag.
Also read this :
Text formatting in html.
Html Basi tags.
Top 5 css and html editor.

What is semantic html?

semantic markup or semantic html means to give the meaning to  you content to make your content meaningful.such as image, metadata tag has own content but the div and span have not content meaningful.

Usage Of Semantic Tags.

In semantic html we have give the meaning to our content by using right tags or elements. Such as many new webdesigner made mistakes during structuring the html.

Blockquote: bloackquote is html tag which is used to add quotations in the webpages but the people use it for indent text. Use it for quotation. For indent the text you can use css margins and indent-property(indent-text).

Ul: ul is the html tag for unordered list but the same people also use it for adding the indent to the text.

p: paragraph tag is used to define a paragraph but mostly people use it for creating space between text it is the wrong the method paragraph tag should be used for adding the paragraph.

h1 to h6: heading tags defines the heading. the heading tags should be only used for headlines or heading not for making text bold and bigger. For making text bold and bigger you should use the css font-size property and font-weight property.

Benefits of Using Semantic markup.

  1. It is help to improve seo.
  2. Easy to use.

List of Semantic tags:
For list of semantic tags click here:

Final words:
Now you can write the semantic html. Please friends share my post with your friends.
Thanks For Visiting
Read More...

Thursday 26 June 2014

Top 5 CSS And HTML Editor

Hi friends
Today I come with new thing. People are taking keen interest in web designing.  In the case when you write a long css and html you do lots of hard work but you made many mistake which are harmful for you so I bring some thing for you which can reduce you hard work, time and efforts and you can write clean and proper html and css. There are many html editors are available in the market with you can write the clean and proper html and css. Here I am going to describe some of the best html and css editor.
 ALSO READ:

ADOBE DREAMWEAVER

Adobe dream weaver is the most popular web development software. It is very best software to edit the document. In this software you can edit html, css, JavaScript, php and many others. It is very powerful tool the mostly developer use the dreamweaver.

Adobe Dreamweaver

Coffee Cup.

It is the one of my best html and css editor I am using it to edit the html and css document and believe me  it is very easy to use . You don’t need to learn eat you can use it very easily. You can manage project and mange your website through coffee cup.
html editor

Aptana studio

Aptana studio is interesting web development software you can manage you WebPages through it easily. It has colorful code and line numbering and quick button for browser.

html editor

NOTE PAD++

It is very simple best editor. It is the replacement of notepad it has many features such as syntax highlighting. Multi tab system and supported many languages. It is free you can download it from here.

notepad

Context


Context editor is updates from notepad ++ . you can open many tabs at time and great syntax highlighted for many programming languages and supported many languages.
context html editor

Conclusion

Now you can choose best editor which you can use easily. Please share our post with your friend and don't forget share our post with your friends.
Read More...

Tuesday 17 June 2014

How To Make HTML Forms

html tutorial

Html forms are used for website interaction. In this way the visitors can communicate with you. The html forms contain different elements such as first name, last name, password, confirm password, favorite lists, gender etc .html form start with <form> and end with </form>.
Also Read This: HTML Tables With Detail.
Also Read This: Text Formatting.
<input> this tag contain different attributes such as name, size, maxlength and type. It is used to make input field between form tags.
          Type=  It tells the browser that it is text field, password, submit field.
          Name= Defines the name of field.
          Size=  This attribute used to define the size of input box.


        Maxlength= This is used for maximum character in the input box.

FIRST NAME;

In text type you can add any which in text such as first name, last name etc.
FOR EXAMPLE
First name :< input type=”text” size=”15” maxlength=”30” name=”first name”>
        
HTML forms tutorial

Password;

In this type you can add the password field in your form which means if you type any thing in the password it appears in the shape of black dots.
FOR EXAMPLE;
First name :< input type=”password” size=”15” maxlength=”30” name=”first name”>
HTML forms tutorial

SUBMITTING DATA. 

Now little bit your farm is complete but problem is that how we send data and where and adding submitting button.
 There are two type of method of sending data.

  get it sends the data showing its as url. This is easy to hack for hackers.
 Post it send the data without showing its as url.

NOTE
get is on the default if you don’t tell the browser it automatically use get method.

How to define the method of post in form?
You can define with attribute of method just like that <form method=’post’>

Where to send data?
The two type of sending data one is you can send to the email system and this is very easy method. Second is the scripting you can use the script of php, perl, javascript etc.
You use action attribute in form tag.just like that.
EXAMPLE;
<form mehod=’post’ action=’mailto:mohammadwaqar401@gmail.com’>
SUBMIT BUTTON;
Adding submit button again we use input tag between form tags.
EXAMPLE;
<input type=’submit’ value=’submit’>

submit button

RADIO BUTTON

In the radio button you have only on choice. You give the two option choose your gender one option is male and other is female. If you click on the male it marked and when you click on female it marked the female but unmarked the male.
For example

Gender  <input type='radio' name='gender' value='Male'>Male
                       <input type='radio' name='gender' value='Female'>Female
gender

CHECK BOX;

In the check you have multiple choice. Just like that tick  your favorites cities.
If there is newyork, London, sydny you can select all of these.

For example;

<input type='checkbox' name='cities' value='Newyorl'>New york <br />
                <input type='checkbox' name='cities' value='Sydny'>Sydny <br />
                <input type='checkbox' name='cities' value='London'>London <br />
checkbox

DROP DOWN LISTS;

In this you can add list and you can select one item from the list. Drop down list contain two tags one is select and second is option. Option tag placed between select tag.
For example
  <select name='birthyear'>
<option> 2001</option>
<option> 2002</option>
<option> 2003</option>
<option> 2004</option>
<option> 2005</option>
<option> 2006</option>
<option> 2007</option>
<option> 2008</option>
<option> 2009</option>
<option> 2010</option>
<option> 2011</option>
<option> 2012</option>
<option> 2013</option>
<option> 2014</option>
</select>

FINAL WORDS;
Now you know how to make form in html. It is very easy but it need some practice. Keep practicing remember in your prayer and don’t forget to share our post with your friend. Keep Visiting!
Read More...

HTML Tables With Detail

html tutorial

Hi friends Assalam-o-alaikum


Friends as you know that in the previous we discussed about text formatting. Today I come with new topic which is all about the html table some people think that the html table. Believe on me it is not difficult as you think. It is very easy it needs only your concentration. Table is essential to learn it help in submitting your data in table and also helps in making layout. Yes you can design layout with it.

BASIC TABLE

The basic structure of table consists of some basic table tags. Table contain of rows and columns. The html table consists of some basic tag which is given below,

<table></table> this tag defines the table in webpage.
<tr></tr> the tr tag defines the table row in table.
<th></th> the th tag defines the heading in table.
<td></td>this tag defines the data in the table.

For example

<table>
<tr>
<td>name</td>
<td>category</td>
<td>price</td>
<tr>
<td>physics</td>
<td>science</td>
<td>200</td>
</tr>
</table>

ADDING TITLE HEADING AND BORDER.

As you need title and heading for your page as like you need title and heading and also border for html tables?
BORDER; you can syle tables with css and also with the the attributes.

For example:

<table border="5"  >
<tr>
    <th colspan="3">BOOK STORE</th>
</tr>
<tr>
 <td>name</td>
<td>category</td>
<td>price</td>
</tr>
<tr>
<td>physics</td>
<td>science</td>
<td>200</td>
</tr>
</table> 
SCREENSHOT 

html tables tutorial


HEIGHT, BORDER COLOR, WIDTH.


We can set the height of table and width of the border and also add the color to make it beautiful.

FOR EXAMPLE
<table border="4" bordercolor="red" width="50%" height="40%">
<tr>
    <th colspan="3">BOOK STORE</th>
</tr>
<tr>
 <td>name</td>
<td>category</td>
<td>price</td>
</tr>
<tr>
<td>physics</td>
<td>science</td>
<td>200</td>
</tr>
<tr>
<th colspan="3">www.worldoftuorial9.blogspot.com</th>
</tr>
</table>
SCREEN SHOT 
html tables tutorial

CELL SPACING AND CELLPADDING.

To add the padding and spacing between the tables we use these attributes cell padding and cell spacing  Cell padding defines the padding between the cell and cell spacing defines space between the cells.
FOR EXAMPLE;
<table border="4" bordercolor="red" width="50%" height="40%" cellspacing="8" CELLPADDING="7">
<tr>
    <th colspan="3">BOOK STORE</th>
</tr>
<tr>
 <td>name</td>
<td>category</td>
<td>price</td>
</tr>
<tr>
<td>physics</td>
<td>science</td>
<td>200</td>
</tr>
<tr>
<th colspan="3">www.worldoftuorial9.blogspot.com</th>
</tr>
</table>
SCREEN SHOT 
html tables tutorial

ADDING CSS TO TABLES

We can use css to add styling to the tables it makes it more beautiful and better looking. We are only describing it little bit.
FOR EXAMPLE
<table border="5" style="background-color:#F62817;border:1px dotted black;width:80%;border-collapse:collapse;">>
<tr>
    <th colspan="3" style="background-color:#C11B17">BOOK STORE</th>
</tr>
<tr>

<td>name</td>
<td>category</td>
<td>price</td>
</tr>
<tr>
<td>physics</td>
<td>science</td>
<td>200</td>
</tr>
<tr>
<th colspan="3">www.worldoftuorial9.blogspot.com</th>
</tr>
</table>
html tutorials

FINAL WORLD

Friend now you can make the table easily first keeps practicing. Remember us in your prayer and share our post with your friends. Keep visiting.


Read More...

Sunday 15 June 2014

Text Formatting In HTML

text formatting in html


Hi friends, Assalam-o-alaikum as we learnt earlier the link tag and image tag now come to the text formatting in html. It is necessary to know because text formatting is main part without you can not manage your contact. Today I am going explain how make text italic bold underlined different forms of tag. These tag make your content readable and beautiful you can make it more beautiful to add css to webpage. This will be discussed in future how to make page more beautiful with css. Let’s come to the topic.
Also read this: HTML image tag and link tag.

TEXT FORMATING.

HEADING.

As you know in every page first and important tag is heading tag. You can use various sizes of heading tag. Heading tag has six levels h1 to h6. The biggest heading h1 and smallest is h6.

For example

<h1>heading one</h1>
<h2>heading two</h2>
<h3>heading three</h3>
<h4>heading 4</h4>
<h5>heading five</h5>
<h6>heading six</h6>

 PARAGRAPH.

The second most tag in the page is paragraph with this tag you show different paragraph. It leaves the blank line before and after the paragraph.
 <p>this is paragraph tag<p>

Line break.


The <br /> tag we used to break line this is the example of an empty tag. This tag use to break line not to separate paragraph.

<hr>

<hr >tag used to separate the content in html page. It has no end tag in html but in xhtml its closing tag look like this <hr />.it is also an example of empty tag.

BOLD TEXT.

The text between the <b></b> the text displayed as bold.

For example;

<p>this the <b>bold</b> tag in paragraph</p>

ITALIC TEXT.       

The text between the <i>italic</i> the text displayed as italic.

For example;


<p> this is the</i> italic</i> tag in paragraph</p>

UNDERLINED TEXT.

The text between the in tags<u>underlined</u>this text will displayed as underlined.

<p>this is the paragraph tag with explanation of <u>underlined</u> tag.

 STRIKE-OUT

It puts the line through the text.

For example

<strike>This tag is strike</strike>

PERFORMATTED TEXT

The text between the tag it will be display as you write it in the text editor. You can add multiple spaces which browser neglect.

For example

<pre>this is the preformatted text</pre> 

 SUPERSCRIPT TEXT.

The <sup> tag defines the superscript text. The text appears half character above the baseline.
 <p> this is the paragraph contains on <sup>script text</sup></p>

SUBSCRIPT TEXT.

The <sub> tag defines the subscript text. The text appears half character below the baseline.
 <p>this is the paragraph contain on <sub> subscript text</sub></p>

SMALL TEXT

Instead of using font size we use small text tag. This tag make small text than the normal text.
 <p>this is the paragraph tag with the <small>small tag</small><p>

LARGE TEXT.

For large text we simply use <big></big>tag.
 <p> this is the paragraph tag with <big>large text</big></p>

FINAL WORDS.

In this tutorial you have learnt about the html text formatting. Now you have concept of text formatting. Please visit us regularly and don’t forget to share our post with your friends.
Read More...

HTML Image Tag And Html Link Tag

html image tag and html link tag

Hi friends.  As you know that in previous tutorial we discussed about the meta tags in html. I think now every body knows about the meta tags of html and how these tags are important. Let’s come to the topic today we are going to discuss about the links in html. Links are the backbone of the html without link tag the webpage is nothing. 

What is the link?

Links or hyperlink is a word, group of word, image on which we click to jump to another page.
When you take your cursor to the link it will be change into small hand.
                                                                                                          

Note.

Unvisited link underlined and has blue color.
Visited link underlined and has purple color.
Active link is underlined and red color.

HTML LINK TAG;

Html Link tag can be written as;

<a href="index.html" target="_blank">HOME</a>
a; ( a shows the anchor which means link ) .
href; (hypertext reference this attribute shows the where is document located)
target; target attribute it is important you must know about this if you want to open the link in new  window or tab it will help you . you use target attribute. ( _blank the value of attribute this value open the link in new window or tab.

NOTE;

You can add various documents to the page with html link tag like html document, mp3 file, ms files and PDF etc.

Image and link tag contain attributes .

HTML IMAGE TAG;

In html we can easily add link to the image for this first we have take look to the html image tag then we can add the link to image.
Lets discuss about the image tag. Image tag can be written as;

<img src=”Pakistan.jpeg” title=”we proud on palkistan” alt=”pakistannation” width=”30” height=”30”>

Img;  this tag specify the image
Src;  the attribute which is used to tell the location of image.
Extension;  it is important to write the extension or formate of the image like jpeg, gif, png etc. without the extension it the image will not display.
alt; the alternate name for the image. If the image can not display for some reason it will helpful.
Title; The tile of the image what the tile you choose for image.
Width and height; you can set the width which you like as well as height.

LINK TO THE IMAGE;

Link to the image it is easy you have to write the image tag between the link tag. Like this,

<a href=”url”><img src=”image.png”></a>     

 FINAL WORDS;

 Friends now you have understanding of html links and the importance of the link and images. Remember in your prayers keep visiting and don’t forget to share our tutorial with your friends. Thanks!
Read More...

Friday 13 June 2014

Meta Tags In Html

meta tags in html

Who does not want to top search engine every blogger have dream to top search engine ranking. There are many bloggers who doing lots of effort in order to get high traffic or top rank in search engine. The meta tags one of the way to top search engine ranking and for getting more traffic. The meta tags tell the search engine what your blog or website is about, to implement meta tags incorrectly it can be dangerous for your blog or website.
Also read this: Html document type declaration.
Also read this: Basic tags of html.

What are meta tags?

  • Html Meta tags lie between the opening and closing of head tag in html document.
  • The data in these tags not showed on browser.
  • The meta tags tell the browser and search engine what your site is about.

TITLE TAG.

Title tag is not meta tag .but it is important to write the title tag should not be long it contain some word like your page name as like index, profile etc. it is also written in head tag.

META DESCRIPTION.

As I mentioned before that the meta description tag tell the browser and search engine what your blog or website is about. It is important to write good description for search engine which they can understand. It is also important to write meta description on every page but it should be different frome each other . Meta description should no longer 155 character even including spaces. It can be written as:

<meta name="description" content="description goes here">

META KEYWORDS.

Meta keywords contain the words which  familiar with your blog or website. This tag also helps to get lot of traffic. The meta keywords tag should be  contain on 20 words.

<meta name="keywords" content="keywords goes here">

ROBOTS META TAGS.

This tag is important and main tag. The robot meta tags specify the particular page that

 Should be index to the search engine or not and the links on that page are followed by search engine or not. Meta tags can be written in four different methods given below.

              <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
                In this method the search engine  doesn't index your page and doesn't follow the links to the other pages.
                         <META NAME="ROBOTS" CONTENT="INDEX, NOFOLLOW">
 In this method you requests to the search engine that index the page but don’t follow the links to other pages.

<META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW">
In this method the search engine doesn't index the page but follow the links to the other pages.

                         <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
In this method the search engine index the page and also follow the links to the other pages.

CONCLUSION .

Now you have understanding of meta tags these tags helps a lot to get high page rank or lots of traffic.
Remember in your prayers and keep visiting and share the post with your friends.
Read More...

Thursday 12 June 2014

Html Document Type Declaration

html document


Hi friends welcome back after the basic of html tags i  am going to discuss some important thing ( Doctype declaration) i think it is essential for every one let's explain the document type declaration.

Also read: Introduction to html.
Also read: HTML basic tags.

What is document type declaration?

  1.  Document type declaration is kind of instruction to tell the browser which version of html and xhtml we are using.
  2. In html document we use document type declaration refer to DTD ( Document Type Definition) because html is based on SGML. The DTD indicate the rule of markup languages.
  3. With document type declaration understand how to show the content on webpage.
  4. Always use the document type declaration in this way the browser show your content properly on the webpage.
Types of document type declaration;
There are three types of document type declaration of html as well as xhtml.

  1. Strict.
  2. Transitiona.l
  3. Frameset.

Document Type Declaration In Html (4.01);


STRICT
This type of declaration consists of html element and attributes, but does not include presentational or deprecated elements. Frameset not supported in this type of declaration.
                  
           < !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML4.01//EN"
              "http://www.w3.org/TR/html4/strict.dtd"
TRANSITIONAL;
 This type of declaration consists of html element and also including presentational or deprecated elements. Frameset not supported in this document type declaration.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
FRAMESET
This type of declaration consists of html element and attributes, including presentation and deprected elements. Framset is supported in this declaration.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

DOCUMENT TYPE DECLARATION IN XHTML (1.0)


STRICT;
This type of declaration consists of html element and attributes, but does not include presentational or deprecated elements. Frameset not supported in this type of declaration.
It is important to write in well-formed xml.
                  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
TRANSITIONAL;
 This type of declaration consists of html element and also including presentational or deprecated elements. Frameset not supported in this document type declaration.
It is important to write in well-formed xml.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

FR AMESET;
This type of declaration consists of html element and attributes, including presentation and deprecated elements. Frameset is supported in this declaration.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> 
Conclusion;
Now you know about the document type declaration and always try to use document type declaration.
Please remember us in your prayers and don't forget to share our post with your friends.THANKS! 
Read More...

Html Basic Tags


html tags

As you know friends in the previous post we discussed the basic terms related to the html(hyper text markup language). Today i come with more basic html tags which important tags for structuring a simple webpage.

Html Tag <html></html>;

Html tags tell the browser that it is an html document. All the html tags are describe in html tags. 
every tag has and opening and closing tag such as: <html></html>.

Head Tag <head></head>;

This is the first tag which comes after the html tag. It contains on title tag, meta tag, cascading style sheet (css), script and the external links are also located in this tag such as CSS (Cascading Style Sheet), Js ( JavaScript), VBscript etc.
Example
<head><title> this is my first page </title><meta name=’keyword’ content=”html, css, JavaScript” /> (this is  a meta tag)<link rel=”stylesheet” type=”text/css” href=”tutorialworld.css”/><scrip type=’text/javascript’>document.write(“hello world”);</script></head>

Body Tag <body></body>;

Body tag is the most important tag which comes after the head tag. It contain of content tags such as hyperlinks, text, list, tables, forms and frames etc. It is main and importan section of page because  all things which appear the on the page is written in the body tag.
Example
<html><head><title>body tag</title></head><body><p>this is paragraph tag which indicate the paragraph in your webpage it leave a blank line before and after the paragraph.</p></body></html>

Paragraph Tag <p></p>;

This tag defines the paragraph in webpage it leaves blank line before and after the paragraph.
Example
<body><p>this is paragraph tag which indicate the paragraph in your webpage it leave a blank line before and after the paragraph. </p></body>

Heading Tags<h1> to <h6>;

These tags indicate different headings it start from h1 to h6 .H1 is the big heading all of these heading and h6 is smallest.
Example
<body><h1>HEADING </h1><h2>HEADING </h2><h3>HEADING </h3><h4>HEADING </h4><h5>HEADING </h5><h6>HEADING </h6></body>

Image Tag <img>

Html image tag is important with this tag you can make beautiful page. This tag defines html image tag to show the image on the webpage. "src" (source) where is your file locate. it is important write the format of the image otherwise it will not show the image.
Example
<body><img src="image.gif" /></body>

Link Tag ;

html link tag is another important tag even it is the back bone of the webpage without the link tag the webpage is nothing. Link tag defines the link tag in webpage. it is very important tag because links are important for the webpage and without link tag the webpage is incomplete.
Link tag is <a href=""></a> ( a stand for anchor and href stand for hypertext reference) and the address of link written between the inverted commas.
Example 
<body><a href="www.worldoftutorial9.blogspot.com">world of tutorial</a></body> 

Conclusion 

Now you can make the simple html webpage without any difficulty. Please remember me in your prayer and don't forget to share our post with your friends.
Read More...