internal css
Internal CSS
1] Internal css used to add a unique style for single document.
2] Internal css is defined in <head> section.
3] Internal css of the html page inside <style> tag.
4] Internal css is embedded <style> tag inside the head section of the HTML file.
ஃ Internal CSS
Example :-
<!DOCTYPE html>
<html>
<head>
<title>internal css</title>
<style>
h1 {
background-color: orange;
color : #ffffff;
}
p {
color:rgb(244, 4, 84);
}
</style>
</head>
<body>
<h1> HTML</h1>
<p>Hypertext text markup language </p>
<h1>CSS</h1>
<P>Cascading style sheet </P>
<a href="#" >webdesigningtheory</a>
</body>
</html>
Post a Comment