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

</tr>
                                      <tr>

                                             <td>Pride and Prejudice</td>
                                             <td>Jane Austen</td>
                                             <td>January 28, 1813</td>
                                      </tr>

                        </table>
                      </body>
                      </html>
                      Output:



















                   14.  Create a webpage that includes a navigation menu with links to other pages on the site. Include CSS also.

                  Ans.  <html>
                      <head>
                        <title>My Website</title>
                        <style>
                               /* Style the top menu */

                               .nav {
                                      background-color: cyan;
                                      color: #fff;
                                      padding: 10px;

                                      display: flex;
                                      justify-content: space-between;
                                      align-items: center;
                               }


                               a {
                                      color: red;
                                      text-decoration: none;

                                      margin-right: 10px;
                                      padding: 5px;
                                      border-radius: 5px;

                                                                                                     Practical Work  367
   364   365   366   367   368   369   370   371   372   373   374