Specify different font-sizes for HTML elements (with CSS):
<html>
<head>
<style>
p.ex1 { font-size: 30px;
}
p.ex2 { font-size: 50px;
}
</style>
</head>
<body>
<p>This is a normal paragraph.</p>
<p class="ex1">This is a bigger paragraph.</p>
<p class="ex2">This is a much bigger paragraph.</p>
</body>
</html>
Type
: |
html |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Tag |
Uploaded by
: |
Admin |