App下載
首頁(yè)htmltext_indentCSS Property Value - 如何text-indent:3em;

CSS Property Value - 如何text-indent:3em;

我們想知道如何text-indent:3em;

<html>
<head>
<style>
.indent {text-indent:3em;}
</style>
</head>
<body>
    <h1>text-indent</h1>
    <p>This paragraph should be aligned 
    with the left-hand side of the browser window. </p>
    <p class="indent">Just the first line of this 
    paragraph should be indented by 3 em, 
    this should not apply to any subsequent 
    lines in the same paragraph.</p>

</body>
</html>