Write the HTML code to generate the following webpage with the given below specifications: use cell spacing ="2" cell padding ="1" . Table should be alinged in the centre . Background colour of table is red. Text created by "sakshi" should be marque.
Answers
Answered by
2
here's your code-
_______________________________________________
<html>
<head>
<title>Table</title>
</head>
<body>
<table cellspacing=2 cellpadding=1>
<!---all rows and columns here-->
<tr><td>1</td><td>2</td></tr>
<tr><td>3</td><td>4</td></tr>
<tr><td>5</td><td>6</td></tr>
</table>
<marquee>Sakshi</marquee>
</body>
<html>
_______________________________________________
<html>
<head>
<title>Table</title>
</head>
<body>
<table cellspacing=2 cellpadding=1>
<!---all rows and columns here-->
<tr><td>1</td><td>2</td></tr>
<tr><td>3</td><td>4</td></tr>
<tr><td>5</td><td>6</td></tr>
</table>
<marquee>Sakshi</marquee>
</body>
<html>
Similar questions