Question

In: Computer Science

Tables:  Write the HTML code for a table data cell that contain the text “Holiday” and spans...

Tables:  Write the HTML code for a table data cell that contain the text “Holiday” and spans across 3 rows and 4 columns.

Solutions

Expert Solution

Dear Student ,

As per requirement submitted above kindly find below solution.

HTML code snippet :

<!DOCTYPE html>

<html lang="en">

    <head>

        <!-- title for web page -->

        <title>Table Data Cell</title>

        <meta charset="UTF-8">

        <meta name="viewport" content="width=device-width, initial-scale=1">

       

    </head>

    <body>

    <!-- html table -->

    <table border="1">

        <tr>

            <td rowspan="3" colspan="4">Holiday</td>

         </tr>

     

    </table>

    </body>

</html>

************************************************

Output :

**********************************************************

Demonstration :Below code is used to test whether table data cells span across three rows and four columns.

<!DOCTYPE html>

<html lang="en">

    <head>

        <!-- title for web page -->

        <title>Table Data Cell</title>

        <meta charset="UTF-8">

        <meta name="viewport" content="width=device-width, initial-scale=1">

       

    </head>

    <body>

    <!-- html table -->

    <table border="1">

        <tr>

            <td rowspan="3" colspan="4">Holiday</td>

            <td>Row 1 Column 5</td>

        </tr>

        <tr>

            <td>Row 2 Column 5</td>

        </tr>

        <tr>

            <td>Row 3 Column 5</td>

        </tr>

        <tr>

            <td>Row 4 Column 1</td>

            <td>Row 4 Column 2</td>

            <td>Row 4 Column 3</td>

            <td>Row 4 Column 4</td>

            <td>Row 4 Column 5</td>

        </tr>

    </table>

    </body>

</html>

==================================

Output :

NOTE :PLEASE FEEL FREE TO PROVIDE FEEDBACK ABOUT THE SOLUTION.


Related Solutions

modify code to write the output as an HTML table to a file in the output...
modify code to write the output as an HTML table to a file in the output directory. The file that is saying to work at : SOURCE CODE IN PERL: print "Enter principal amount: "; $P=; while($P<=0) { print "Principal must be positive. Try again: "; $P=; } print "Enter number of times interest is applied in a year: "; $n=; while($n!=12 && $n!=4 && $n!=2 && $n!=1) { print "It must be 12, 4, 2 or 1. Try again:...
The code to create a Search/Filter Data with Javascript or html from html page.
The code to create a Search/Filter Data with Javascript or html from html page.
write a program in java that contain a class for botique . data member include code...
write a program in java that contain a class for botique . data member include code , color , size , quantity . your class should contains all accessor and mutator methods , non paraqmetric constructor , parametric constructor , input andvidsplay method
Topic: HTML Styling Elements - CSS3 Write some HTML code that includes three Semantic HTML tags....
Topic: HTML Styling Elements - CSS3 Write some HTML code that includes three Semantic HTML tags. Describe the semantic meaning of each one you choose.
Can someone verify why my code isnt running <!DOCTYPE html> <html> <body bgcolor=aqua text=purple> <script type="text/javascript">...
Can someone verify why my code isnt running <!DOCTYPE html> <html> <body bgcolor=aqua text=purple> <script type="text/javascript"> funtion oldMacVerse(animal, sound) //Assumes: animal is the name of an animal, sound is the sound it makes //Results: displays a version of the song "Old MacDonals Had a Farm" in outputDiv { document.getElementById('outputDiv').innerHTML =    '<p>Old MacDonald had a farm, E-I-E-I-O.<br>' +    'And on that farm he had a ' + animal + ', E-I-E-I-O.<br>' +    'With a ' + sound +...
Utilizing PHP and HTML code Create a form that has text inputs for two numbers and...
Utilizing PHP and HTML code Create a form that has text inputs for two numbers and a submit button. Submit the values to a program that calculates and displays the GCD of the two numbers. The greatest common divisor of two integers a and b is the largest integer that is a factor of both a and b. The GCD of any number and 1 is 1, and the GCD of any number and 0 is that number. For example:...
Write the below code to use HTML and JavaScript. 1. a) Write a JavaScript program to...
Write the below code to use HTML and JavaScript. 1. a) Write a JavaScript program to display the current day and time. b) Write a JavaScript program to print the contents of the current window.   c) Write a JavaScript program where the program takes a random integer between 1 to 10 d) Write a JavaScript program to calculate multiplication and division of two numbers (input from the user). e)Write a JavaScript program to create a new string from a given...
Write a C++ program to create a text file. Your file should contain the following text:...
Write a C++ program to create a text file. Your file should contain the following text: Batch files are text files created by programmer. The file is written in notepad. Creating a text file and writing to it by using fstream: to write to a file, you need to open thew file as write mode. To do so, include a header filr to your program. Create an object of type fsrteam. Open the file as write mode. Reading from a...
In what circumstances is data visualization better than using text explanations and tables of numeric data?...
In what circumstances is data visualization better than using text explanations and tables of numeric data? In what situations is it worse? Justify your reasoning.
Think about the data collected and used by Netflix. A) Identify three tables that would contain...
Think about the data collected and used by Netflix. A) Identify three tables that would contain customer or subscription data. B) For each table identified in a list five attributes (you may include primary and foreign keys as well as non-key attributes) C) Describe each attribute using elements from data dictionary (e.g. descriptions, field length, field type, etc.) D) Why would Netflix be interested in storing and tracking these attributes (e.g. to enhance customer service or future customer sales, to...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT