Examples: div, h1, p"Block-level elements typically contain inline elements and other block-level elements. When rendered visually, block-level elements usually begin on a new line."
Examples: span, a, img"Inline elements typically may only contain text and other inline elements. When rendered visually, inline elements do not usually begin on a new line."
h1, p {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: blue;
}
p em { color: yellow; }
<p style="font-weight: bold;">This text will be bold.</p>
<head>
<style type="text/css" media="screen">
h1, p { font-weight: bold; color: blue; }
</style>
</head>
<head>
<link rel="stylesheet" type="text/css" media="screen"
href="css/style.css" />
</head>
<head>
<style type="text/css" media="screen">
@import url("css/style.css");
</style>
</head>