Question

In: Computer Science

Create a table on one page of your site that has at least one colspan or...

Create a table on one page of your site that has at least one colspan or rowspan.


Style it with at least three selectors in your stylesheet. You can use element, class and/or ID. (Note: do not use deprecated HTML attributes - use CSS!)


Add at least two font stacks to your website including one web font from Google Fonts (Links to an external site.)


Use padding, margin, and border at least once each in your stylesheet.


Solutions

Expert Solution

<!DOCTYPE html>
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
<link href='https://fonts.googleapis.com/css?family=Lato' rel='stylesheet'>
<style>
table td {
font-family: 'Roboto';font-size: 18px;
border: 1px solid red;
padding: 5px;
margin: 2px;
}

#header1{font-family: 'Lato';text-align:center;
}
.subheading{
font-family:'verdana'; text-align:center;
}
</style>
</head>
<body>

<h1 id="header1">Table title</h1>
<h3 class="subheading">- author </h3>
<table>
<tr>
<td colspan="2"> Col 1 heading
</td>
<td>
Col 2 heading
</td>
</tr>
<tr>
<td colspan="2">
Row 1 col 1
</td>
<td>Row 1 col 2</td>
</tr>
<tr>
<td>
Row 2 col 1
</td>
<td>Row 2 col 2</td>
<td>Row 2 col 3</td>
</tr>
</table>

</body>
</html>


Related Solutions

Create a one page table to show the major similarities and differences between public and private...
Create a one page table to show the major similarities and differences between public and private sector. This should cover all areas not just finance e.g. HR, technology etc
2 -​Create the code to generate a web page that contains a table. The table should...
2 -​Create the code to generate a web page that contains a table. The table should have 4 ​columns and 4 rows. Each cell should be 100 pixels wide by 100 pixels high. The border ​should be 2 ​pixels.
Create a second page of your diagram (in the same file) and on it create a...
Create a second page of your diagram (in the same file) and on it create a Diagram 0 DFD of CSIES using the following information: The CSIES has within it the following processes and data store: PROCESS PAYMENT. This process interfaces with both the student and InsureRight Insurance Company. It receives the payment from the student and sends the payment to the InsureRight Insurance Company. It receives a receipt from the insurance company and sends a receipt to the student....
what is the importance of LinkedIn? At least one page SUBJECT English
what is the importance of LinkedIn? At least one page SUBJECT English
1. What is globalization? At least one page SUBJECT: ANTHROPOLOGY
1. What is globalization? At least one page SUBJECT: ANTHROPOLOGY
Explain how an organization can create a healthy work site. answer in text please at least...
Explain how an organization can create a healthy work site. answer in text please at least 400 word
Create a web interface that has a backend database that takes a value of one table...
Create a web interface that has a backend database that takes a value of one table and displays it match from another table. Create a web interface, that has a backend database, the database contains two tables, one table contains courses in one curriculum, while the other table in the database has corresponding classes from another curriculum. A user should be able to pick a course from the curriculum, and the matching course from the other table should populate on...
Create a class called College that has: At least 2 constructors (one should be the default...
Create a class called College that has: At least 2 constructors (one should be the default constructor) All members private The relevant setters and getters A print_me() function A college_ID member (unique) Write two unsorted lists that manage the data for colleges and their ranking: An unsorted list using an array An unsorted list using a linked list Each college will have a unique ID number that will be used for search. For the lab you don't need to read...
For this project: Create a game with at least 3 outcomes Develop a probability table with...
For this project: Create a game with at least 3 outcomes Develop a probability table with the outcomes for X and the probability p(X) Find the expected value and standard deviation Determine if your game is fair How could be changed to make it fair or favor the player or "house"? Run the game 50 times and record each outcome Compute the empirical probability and compare it against the theoretical probability in #2. Find the average outcome of the 50...
Create a web site to share your travel blog stories from multiple trips. Desktop site should...
Create a web site to share your travel blog stories from multiple trips. Desktop site should have three columns, the left being navigation, middle is your text, the right is some basic facts about the location that you visited. Tablet site should have two columns, dropping the right column. Mobile phone site should have one column, with the navigation becoming the drop-down list. Create a form and use JavaScript to validate the user data. Submitting valid data should result in...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT