Download presentation
Presentation is loading. Please wait.
Published bySabina Pierce Modified over 5 years ago
11
<i> -----------</i> making the text Italic
Text editing <b> </b> making the text bold <i> </i> making the text Italic <u> </u> to Underline the text <br> line break <p> paragraph break Table: It is used on the page to organize the content in proper manner with the help of the tags and attributes <table> and attributes are: Width Will increase or decrease according to content Height Will increase or decrease according to content Cellpadding To align the text inside the cell Cellspacing To give the space between the cell Border To make the table visible or hidden
12
<html> <head> <titile>Row and column</titile> </head> <body bgcolor=”green”> <Table cellpadding=”0” cellspacing=”0” border=”2”> <Caption>table merge</caption> <tr> <td rowspan=”2”>R1C1</td> <td>R1C2</td> <td>R1C3</td> </tr> <td >R2C1</td> <td>R2C2</td> <td colspan=”2”>R3C1</td> <td>R3C2</td> </table> </body> </html>
13
<Frame> and attributes are: Frameset Cols Rows Src Target
It is used on the page to divide the page into diff part so that multiple pages can be displayed at a time the tags and attributes <Frame> and attributes are: Frameset Cols Rows Src Target <html><head><title>Frame</title></head> <frameset rows=“50%,50%”> <Frame src=“table.html”> <Frame src=“tr.jpg> </Frameset> </Html>
14
<td>2</td> <td>8unit</td>
<html> <head> <title>table tag</title> </head> <body bgcolor=“red> <table cellpadding=“0” cellspacing=“0” border=“0”> <tr> <th>S.no</th> <th>Price</th> <th>Amount</th> </tr> <td>1</td> <td>3unit</td> <td>1000</td> </tr><tr> <td>2</td> <td>8unit</td> <td>2000</td> </tr></table></body></html> S.no price Amount 1 3 unit 1000 2 8 unit 2000
43
<title>Frame page</title> </head>
Frame Coding <html> <head> <title>Frame page</title> </head> <frameset rows="50%,50%"> <frameset cols="50%,50%"> <frame src="a.bmp"> <frame src="b.jpg"> </frameset> <frame src="c.jpg"> <frame src="d.jpg"> </html> 1 frame 2 frame 3 frame 4 frame
44
<title>Frame page</title> </head>
Form Coding <html> <head> <title>Frame page</title> </head> <body bgcolor=“green”> <Form method=“post” Action=“URL”> <h1>Name:</h1> <input type="text" name=“a“ value="" maxlength="100"><br> <h1>LName:</h1> <input type="text" name=“b" value="" maxlength="100"><br> <h1>Password:</h1> <input type="Password" name=“pssword" value="" maxlength="100"><br> <h1>Order:</h1> <input type="radio" name="lunch" value="pasta"> Pasta <input type="radio" name="lunch" value="fish"> Fish<br> <h1>Drink:</h1> <input type="checkbox" name=“fj" value="beer"> fruit Juice <input type="checkbox" name=“cd" value="wine"> Cold Drink <input type="checkbox" name=“s" value="wine"> Soda<br> <H1> Select Country:</H1><br>
45
<select name="city">
<option value =“India">India</option> <option value =“USA">USA</option> <option value =“UK">UK</option> <option value =“Aus">Aus</option> </select> <H1>Preferred City:</H1><br> <select name="city" type="multiple" size="3"> <option value ="sydney">Sydney</option> <option value ="melbourne">Melbourne</option> <option value ="cromwell">Cromwell</option> <option value ="queenstown">Queenstown</option> </select><br> <input type="submit" value="Submit"><br> <input type= "Reset" value= "Reset"> </form> </body> </html>
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.