...

Web Technologies - CSS

Back to Course

Lesson Description


Lession - #172 CSS Defaults


CSS pages are easy to read, in any event, for individuals with slight understanding incapacities.
-The default text size is 15px
-The default textual style is Verdana, which has a decent letter separating
-The default line-spacing (1.5>


Let's see an example:


<!DOCTYPE html>
<html>
<head>
<style>
div.a {
  font-size: 15px;
  font-style:verdana:
  
}
  </style>
 <div class="a">This is some text.</div>
<P>
  This is second line.
  </P>
</body>
</html>

Output:


Try it here