Html Course

By default, the bullets of <ul>, <li> and the numbers in <ol> list are displayed on the left side of the content.
If you wand to display them on the right side, use the dir='rtl' (right-to-left text /content align).
- Example, all the content in the UL / OL lists, including bullets and numbers are displayed from the right to left.

<h4>Example List items in right side</h4>

<ul dir='rtl'>
<hr />
<ol dir='rtl'>
 <li>Free courses</li>
If you want to keep the text alignment in the left, but with bullets and numbers on the right side, use the CSS property, text-align:left;.
- Example:
<h4>Example List markers in right side</h4>

<ul dir='rtl' style='text-align:left; width:75%;'>
<hr />
<ol dir='rtl' style='text-align:left; width:75%;'>
 <li>Free courses</li>

Daily Test with Code Example

Which type of <input> creates a date input control, such as a pop-up calendar?
type="text" type="date" type="button"
<input type="date" name="set_date" value="2012-10-15" />
Which CSS property adds shadow effects to the text of an element?
font-style color text-shadow
h2 {
  text-shadow: 2px 3px 3px #a0a1fe;
Click on the function that adds new elements to the end of an array.
pop() shift() push()
var pags = ["lessons", "courses"];
pags.push("download", "tutorials");
alert(pags[2]);            // download
Which function sorts an array by key, in ascending order, maintaining key to data correlations?
asort() ksort() sort()
$lang =[10=>"PHP", 20=>"JavaScript", "site"=>"");
var_export($lang);     // array ("site"=>"", 10=>"PHP", 20=>"JavaScript")
Display UL bullets and OL numbers on the right side

Last accessed pages

  1. Convert BBCode to HTML and HTML to BBCode with JavaScript (7413)
  2. Get Time Elapsed (1471)
  3. Add, Change, and Remove Attributes with jQuery (43457)
  4. PHP MySQL - WHERE and LIKE (26297)
  5. Output or Force Download MP3 with PHP (4149)

Popular pages this month

  1. PHP Unzipper - Extract Zip, Rar Archives (220)
  2. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (211)
  3. Read Excel file data in PHP - PhpExcelReader (209)
  4. PHP-MySQL free course, online tutorials PHP MySQL code (135)
  5. SHA256 Encrypt hash in JavaScript (133)