Difference between revisions of "Test verca 5"

From wiki
Jump to navigation Jump to search
(Replaced content with "<code>button</code>")
Line 1: Line 1:
<code>button</code>
+
<!DOCTYPE html>
 +
<html>
 +
<head>
 +
<style>
 +
code {
 +
  font-family: Consolas,"courier new";
 +
  color: crimson;
 +
  background-color: #f1f1f1;
 +
  padding: 2px;
 +
  font-size: 105%;
 +
}
 +
</style>
 +
</head>
 +
<body>
 +
 
 +
<h1>The code element + CSS</h1>
 +
 
 +
<p>The HTML <code>button</code> tag defines a clickable button.</p>
 +
<p>The CSS <code>background-color</code> property defines the background color of an element.</p>
 +
 
 +
</body>
 +
</html>

Revision as of 16:00, 7 June 2022

<!DOCTYPE html> <html> <head> <style> code {

 font-family: Consolas,"courier new";
 color: crimson;
 background-color: #f1f1f1;
 padding: 2px;
 font-size: 105%;

} </style> </head> <body>

The code element + CSS

The HTML button tag defines a clickable button.

The CSS background-color property defines the background color of an element.

</body> </html>