TV-Screen shape created only with a DIV tag and CSS properties.
Code:
<style type="text/css">
#tvscreen {
 position: relative;
 width: 200px;
 height: 150px;
 margin: 20px 10px;
 background: #0809fe;
 border-radius: 50% / 10%;
 color: white;
 text-align: center;
 text-indent: .1em;
}
#tvscreen:before {
 content: "";
 position: absolute;
 top: 10%;
 bottom: 10%;
 right: -5%;
 left: -5%;
 background: inherit;
 border-radius: 5% / 50%;
}
</style>

<div id="tvscreen">CoursesWeb.net</div>
Demo:
CoursesWeb.net

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag create a highlighted bolded text?
<q> <strong> <em>
<p>Address: <strong>http://CoursesWeb.net/</strong> - Tutorials.</p>
Which of these CSS codes displays the text bolded?
text-size: 18px; font-style: italic; font-weight: 800;
#id {
  font-weight: 800;
}
What JavaScript function can be used to call another function multiple times, to a specified time interval?
setInterval() setTimeout() push()
function someFunction() { alert("CoursesWeb.net"); }
setInterval("someFunction()", 2000);
Click on the correctly defined variable in PHP.
var vname = 8; $vname = 8; $vname == 8;
$vname = 8;
echo $vname;
TV-Screen shape with CSS

Last accessed pages

  1. Convert BBCode to HTML and HTML to BBCode with JavaScript (3994)
  2. Zodiac Signs PHP code (3191)
  3. ActionScript 3 - Change MovieClip Color (6011)
  4. PHP Unzipper - Extract Zip, Rar Archives (1638)
  5. Convert XML to JSON in JavaScript (17793)

Popular pages this month

  1. Read Excel file data in PHP - PhpExcelReader (575)
  2. PhpSpreadsheet - Read, Write Excel and LibreOffice Calc files (498)
  3. Register and show online users and visitors (414)
  4. Get Attribute (ID, Class, Name, Title, Src) with jQuery (402)
  5. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (375)