outline

English [ˈaʊtlaɪn] American [ˈaʊtˌlaɪn]

n. Outline, outline, outline, draft, key points, main principles; shape, outline, outline Line, outline drawing method, sketch (drawing method)

vt. Overview; outline; outline, sketch, outline

Third person singular: outlines Plural: outlines Present participle: outlining Past tense: outlined Past participle: outlined

width

UK[wɪdθ] US[wɪdθ, wɪθ, wɪtθ]

n.Width; breadth

Plural: widths

javascript outlineWidth attribute syntax

Function:Set the width of the outline surrounding the element.

Syntax: Object.style.outlineWidth=thin|medium|thick|length

javascript outlineWidth attribute example

<html>
<head>
<style type="text/css">
p
{
border: thin solid #00FF00;
outline: thick solid #FF0000;
}
</style>
<script type="text/javascript">
function changeOutlineWidth()
{
document.getElementById("p1").style.outlineWidth="thin";
}
</script>
</head>
<body>

<input type="button" onclick="changeOutlineWidth()"
value="Change outline width" />

<p id="p1">This is a paragraph</p>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance