×
Clear all filters including search bar
Valeri Tandilashvili's Personal Professional Blog
<!-- Our comment -->
XML comment example in XML document:<?xml version="1.0" encoding="UTF-8"?>
<student>
<!-- Some comment about the student -->
<first-name>George</first-name>
<phone.mobile>(011) 123-4567</phone.mobile>
<tive_language>English</tive_language>
<another_tag>some text</another_tag>
<city />
</student><?xml version="1.0" encoding="UTF-8"?>
<student>
<name>George</name>
<phone>(011) 123-4567</phone>
<address></address>
<city />
</student>One way is <address></address> element and another is <city />. In other words, one with closing tag and another is self-closing tag.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