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
style
英[staɪl] 美[staɪl]
n. Way; style; fashionable; appearance , taste
vt. Design; name; shape for...
vi. Make it conform to popular styles; use a carving knife to make decorative paintings
Third person singular: styles Plural: styles Present participle: styling Past tense: styled Past participle: styled
javascript outlineStyle attribute syntax
Function:Set the style of the outline surrounding the element.
Syntax: Object.style.outlineStyle=style
javascript outlineStyle attribute example
<html> <head> <style type="text/css"> p { border: thin solid #00FF00; outline: thick solid #FF0000; } </style> <script type="text/javascript"> function changeOutline() { document.getElementById("p1").style.outlineStyle="dotted"; } </script> </head> <body> <input type="button" onclick="changeOutline()" value="Change outline style" /> <p id="p1">This is a paragraph</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance