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.
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
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...
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...
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. In HTML, also don't worry about putting information on the columns you can just put some kind...
Design at least five XML documents. One of these XML is main page.
Description Design at least five XML documents. One of these XML is main page.     There are several links which link to other XML document. Each XML document has an XSLT document which transforms XML document into HTML format.
Pros and Cons of virtual clinical experience in nursing. At least one page
Pros and Cons of virtual clinical experience in nursing. At least one page
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT