Display the <strong> elements as block elements. - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Display the <strong> elements as block elements.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
strong {<!--from ww  w. ja v a 2 s  .c o  m-->
    display:block;
}
</style>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a <strong>paragraph</strong>, with some words more <strong>important</strong> than others </p>
<p>This is another paragraph.</p>

</body>
</html>

Related Tutorials