Internal CCS
Internal CSS
An internal style sheet may be used if one single HTML page has a unique style.
The internal style is defined inside the <style> element, inside the head section.
Internal styles are defined within the <style> element, inside the <head> section of an HTML page:
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: linen;}
h1 {
color: maroon;
margin-left: 40px;}</style>
body {
background-color: linen;}
h1 {
color: maroon;
margin-left: 40px;}</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
0 коммент.