Outlines are special visual properties similar to border, but take up no space in the layout. They will highlight an item without shifting its position.
An outline is a line that is drawn around elements, outside the border edge, to make the element 'stand out'. It specifies the style, color, and width of an outline, but don't have separate definitions for each of the four sides.
The outline-color
property sets the color of an outline.
The outline-color does not work if it is used alone. You need to define the 'outline-style' property before the 'outline-color'.
The outline-style
property specifies what kind of line to display. You can define one of the fallowing values.
outline-width
sets the size of the border.<style> #idd { outline-style: dashed; outline-width: 2px; outline-color: blue; padding:3px; } </style> <h4>Example CSS outline</h4> <div id='idd'>Free Web Development courses and resources.</div>
outline
shorthand property you can shorten the code. It accept three values representing outline-width, outline-style, and outline-color.<ul> <li>http://coursesweb.net/html/</li> <li>http://coursesweb.net/css/</li> </ul>
.some_class { display: list-item; }
var obj = { "courses": ["php", "javascript", "ajax"] }; var jsonstr = JSON.stringify(obj); alert(jsonstr); // {"courses":["php","javascript","ajax"]}
$strhtml = '<body><div id="dv1">CoursesWeb.net</div></body>'; $dochtml = new DOMDocument(); $dochtml->loadHTML($strhtml); $elm = $dochtml->getElementById("dv1"); echo $elm->nodeValue; // CoursesWeb.net