<p> Paragraph Tag Examples
Examples of the <p> tag in HTML 5
Example of <p> tag with style
(see <p> tag demo above)
<div>
<style scoped="scoped">
@-webkit-keyframes rotate-in {
0% {
opacity: 0.3;
-webkit-transform: rotate(-20deg) scale(0.05);
-webkit-animation-timing-function: linear;
}
80% {
opacity: 0.95;
-webkit-transform: rotate(0deg) scale(0.95);
-webkit-animation-timing-function: linear;
}
100% {
opacity: 1.0;
font-size: 180%;
-webkit-transform: rotate(0deg) scale(1.0);
-webkit-animation-timing-function: ease-in;
}
}
.rotate-in {
height: 2.2em;
text-align: center;
-webkit-animation-name: rotate-in;
-webkit-animation-duration: 1.0s;
}
</style>
<p class="rotate-in">Example of a paragraph using the HTML <p> tag.</p>
</div>