Answers for "font size inline css"

36

font size css

.class {
	font-size: 12px;
}
Posted by: Guest on February-15-2020
9

how to write css in html

<p style="color: blue; font-size: 46px;">
Posted by: Guest on May-01-2020
0

font size css

/* <absolute-size> values */
font-size: xx-small;
font-size: x-small;
font-size: small;
font-size: medium;
font-size: large;
font-size: x-large;
font-size: xx-large;
font-size: xxx-large;

/* <relative-size> values */
font-size: smaller;
font-size: larger;

/* <length> values */
font-size: 12px;
font-size: 0.8em;

/* <percentage> values */
font-size: 80%;

/* Global values */
font-size: inherit;
font-size: initial;
font-size: unset;
Posted by: Guest on February-24-2021
4

font size css

/* you can set the font size using font-size: and a number followed by px */

.class {
  font-size: 60px;
}
Posted by: Guest on December-15-2020
2

how to add css to html

<link rel="stylesheet" href="hi.css">
Posted by: Guest on July-01-2020
2

how to add style to p tag in html

<h1 style="color:blue;">This is a Blue Heading</h1>
<!DOCTYPE html>
<html>
<head>
<style>

 body {background-color: powderblue;}
h1   {color: blue;}
p    {color: red;}

</style>
</head>
<body>

<h1>This is a 
 heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
Posted by: Guest on March-14-2020

Browse Popular Code Answers by Language