Page 368 - Web Applications (803) Class 11
P. 368

<img src=”chowmein.jpg” height=15% height=15% alt=”My favourite food”>
                   </body>

                   </html>
                   Output:
























                13.   Create a table that displays information about a series of books. Include columns for the book title, author, and
                   publication date. Use appropriate HTML tags and attributes to format the table.

               Ans. <html>
                   <head>
                     <title>Books</title>

                   </head>
                   <body text=blue>
                     <table border=2 bordercolor=red>
                     <caption> BOOKS IN MY ROOM </caption>
                             <thead>

                                    <tr>
                                           <th>Title</th>
                                           <th>Author</th>
                                           <th>Publication Date</th>

                                    </tr>
                             </thead>
                                    <tr>
                                           <td>Harry Potter and the Deathly Hallows</td>
                                           <td>J. K. Rowling</td>

                                           <td>July 21, 2007</td>
                                    </tr>
                                    <tr>
                                           <td>Like it Happened Yesterday</td>

                                           <td>Ravinder Singh</td>
                                           <td>March 8, 2017</td>

                366   Touchpad Web Applications-XI
   363   364   365   366   367   368   369   370   371   372   373