×
Clear all filters including search bar
Valeri Tandilashvili's Personal Professional Blog
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)&
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
<
- less than - <
>
- greater than - >
'
- ampersand - &
"
- apostrophe - '
&
- quotation mark - "
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);
APP_KEY
value in our .env file
for security purposes (for sessions and other encrypted data)php artisan key:generate
$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;
<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 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
public function __construct() {
$this->middleware('auth', ['except'=>['index', 'show']]);
}