Monday, 31 October 2011

Multiline HTML Text Box

The basic code for Multiline text box as follows
<textarea name="text">
</textarea>

As with any form element, we must specify a name (in this case text). You may have noticed that, unlike the standard text box and button, this form element has a closing tag. This is because, as well as allowing the user to enter more text than other elements, it is also designed to allow the webmaster to set more initial text. Anything between the closingand opening tags will be placed inside the textbox and, unlike with standard HTML, new lines taken in your code between these tags will be shown as new lines on the page. 

We can create a multiline textbox as follows.





And the HTML code might be like this

Simple HTML Tables

Let us see how to create a simple HTML Table

See a simple HTML Code below



after you have typed the code, your table should look like this illustration


AAA
AAA
AAA

Now its an uncomplicated table, take a look back through the HTML you've written to learn each of the element we used. You created that table with only thee elements, <table>, <tr> and <td>

  • <table></table> the table element creates the table. use this element for each table
  • <tr></tr> the table row element established, as you would expect, a row. If your table is to have ten rows, you will use this element ten times.
  • <td></td> td stands for table data. This element creates individual cells in a row

Formatting Ordered and Unordered lists

Ordered lists, use the following types
type="1"  for list of 1, 2, 3 …
type="a" for list of  a, b, c …
type="A" for list of  A, B, C …
type="i" for list of  i, ii, iii … (lowercase Roman numerals)
type="I" for list of  I, II, III … (uppercase Roman numerals)

Unordered lists
type="disc" for list of  disc
type="circle" for list of  circle
type="square" for list of  square

The ordered list should go from one to three and then the second list from four to six. The unordered list should be squares rather then round bullets.

Sample Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML4.01 Strict//EN" "http://www.w3.org/TR/HTML4/strict.dtd">
<html>
    <head>
    <meta http-equiv="Content-Type"content="text/HTML; charset=UTF-8">
    <title>Lists </title>
    </head>
<body>
    <h3>a, b, c, List</h3>
    <ol type="a">
        <li>Step a.</li>
        <li>Step b.</li>
        <li>Step c.</li>
    </ol>
    <h3>The Number list.</h3>
    <ol>
        <li value="3">Step four.</li>
        <li>Step five.</li>
        <li>Step six.</li>
    </ol>
    <ul type="square">
        <li>Item one.</li>
        <li>Item two.</li>
    </ul>
</body>
</html>

steps 

Friday, 28 October 2011

Diwali Decoration, Jaipur




Ubuntu 11.10

Ubuntu 11.10 released, It comes with some clever enhancements to make our Ubuntu experience even more easy and enjoyable.

And It comes with new features as follows


Ubuntu Application Center


The New Application launcher

The dash

Application switching

Read more here

Saturday, 1 October 2011

Starting With HTML

HTML is a markup language and stands for Hyper Text Markup Language. HTML uses HTML markup tags to describe web pages.

Example

<html>
<title>Hello World !</title>
<body>
<h1>Hello World !</h1>
<p>Hellow World</p>
</body>
</html> 

To create the above HTML page, first open note pad from Start > All Programs > Accessories > Notepad. Type the above code and choose File > Save as, then select save as type 'All' and file name 'test.html'.



Done ! open the saved test.html on any browser like Internet Explorer, Chrome of Firefox. Your web page look like this.