Internal/Embedded CSS Styles
Internal styles are placed inside the <head> section of a particular Web page source code.
These styles can be re-used in the same Web page in which they are placed.
These styles can be re-used in the same Web page in which they are placed.
Example:
<style>
H1,h2,{
Margin:0px;
Font-size=1.5em;
}
Footer{
Background-color:#999;
Text-allign: center;
}
</style>
In the example, inside the <style> tag, CSS styles for <h1>, <h2>, and <footer> tags are
defied. This can be re-used in the same Web page multiple times.
defied. This can be re-used in the same Web page multiple times.
No comments: