Horje

How to Use CSS to style <footer>

See the Example
index.html
Example: HTML
<html>
<head>
<style>
footer {
  text-align: center;
  padding: 3px;
  background-color: DarkSalmon;
  color: white;
}
</style>
</head>
<body>

<footer>
  <p>Author: Hege Refsnes<br>
  <a href="mailto:[email protected]">[email protected]</a></p>
</footer>

</body>
</html>

Output should be:

How to Use CSS to style <footer>




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin