Results: 1022
version 
- specifies the version used in the XML document (1.0)
encoding
- defines the character encoding used in the XML document (UTF-8)
standalone
- if the value is
yes
it means there is no external declaration required to parse the document (yes)
XML references allow us to have symbols in XML text, that are not allowed to be included directly. References begin with the symbol
&
which is a reserved character and end with the symbol
;
XML has two types of references: ... 1.
Entity Reference
− which contains a name between the start and the end delimiters. For example
&
where amp is name. The name refers to
&
symbol. ... 2.
Character Reference
− contains reference, such as
A
contains a hash mark
#
followed by a number. The number refers to the Unicode code of a character. In this case, 65 refers to alphabet
A
Some characters are are not allowed in XML text because they are reserved by the XML itself. Hence, they cannot be used directly. If we need to include them in text, some replacement-entities are used. These symbols are:
<
- less than -
&lt;
>
- greater than -
&gt;
'
- ampersand -
&amp;
"
- apostrophe -
&apos;
&
- quotation mark -
&quot;
Dynamically
changes HTML table content using XMLHttpRequest after choosing any option on
<select>
obj = { table: "customers", limit: 20 };
dbParam = JSON.stringify(obj);
xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
  if (this.readyState == 4 && this.status == 200) {
    myObj = JSON.parse(this.responseText);
    txt += "<table border='1'>"
    for (x in myObj) {
      txt += "<tr><td>" + myObj[x].name + "</td></tr>";
    }
    txt += "</table>"
    document.getElementById("demo").innerHTML = txt;
  }
}
xmlhttp.open("POST", "json_demo_db_post.php", true);
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlhttp.send("x=" + dbParam);
key:generate
This command sets the
APP_KEY
value in our
.env file
for security purposes (for sessions and other encrypted data)
php artisan key:generate
We can remove or change the breadcrumb separator by assigning different value to
$breadcrumb-divider: none;
sass variable. We can even assign SVG icon using the following syntax
$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);
If we want to remove the separator, we assign
none
to the variable
$breadcrumb-divider: none;
The column in the middle has specified width and the rest of the space is divided equally for the other columns
<div class="container">
  <div class="row">
    <div class="col">
      1 of 3
    </div>
    <div class="col-6">
      2 of 3 (wider)
    </div>
    <div class="col">
      3 of 3
    </div>
  </div>
  <div class="row">
    <div class="col">
      1 of 3
    </div>
    <div class="col-5">
      2 of 3 (wider)
    </div>
    <div class="col">
      3 of 3
    </div>
  </div>
</div>
.container
class sets a max-width at each responsive breakpoint
Button types with html examples
<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
<button type="button" class="btn btn-success">Success</button>
<button type="button" class="btn btn-danger">Danger</button>
<button type="button" class="btn btn-warning">Warning</button>
<button type="button" class="btn btn-info">Info</button>
<button type="button" class="btn btn-light">Light</button>
<button type="button" class="btn btn-dark">Dark</button>

<button type="button" class="btn btn-link">Link</button>
Special classes for different button types:
btn-primary
btn-secondary
btn-success
btn-danger
btn-warning
btn-info
btn-light
btn-dark
Adds exceptions so that unauthorized users will be able to see all posts and individual post
public function __construct() {
    $this->middleware('auth', ['except'=>['index', 'show']]);
}
Results: 1022