<< < 11 12 13 14 15 16 17 18 19 20 > >>   Sort: Date

What Are HTML List Elements
What Are HTML List Elements? HTML offers 3 list elements: "ol" - Ordered List: A list of items with leading sequential numbers. "ul" - Unordered List: A list of items with leading bullets. "dl" - Definition List: A list of items with leading terms. Here are some generic rules about list elements: Li...
2017-06-16, 258👍, 0💬

Using HTML 'textarea' Input Fields
What Is a "textarea" Tag/Element? A "textarea" element is an inline element that you can use to define a large input area in a form. Here are basic rules about a "textarea" element: "textarea" elements are inline elements. "textarea" elements can only be used as sub-elements of "form" elements. A "t...
2017-04-04, 258👍, 0💬

Multiple JSON Schema Validation Keywords
How multiple Validation Keywords work in JSON Schema? Multiple Validation Keywords work in JSON Schema with the "AND" logic. The order of validation keywords is not important. In other words, all of them are applied individually to the JSON instance based their specified conditions. For example, the...
2017-08-25, 257👍, 0💬

Finding a Substring in PHP
How to Find a Substring from a Given String? To find a substring in a given string, you can use the strpos() function. If you call strpos($haystack, $needle), it will try to find the position of the first occurrence of the $needle string in the $haystack string. If found, it will return a non-negati...
2016-10-13, 257👍, 0💬

What Is Visual Studio Command Prompt
What is Visual Studio Command Prompt? Visual Studio Command Prompt is command line window with all required environment variables defined to run Visual Studio command line tools. Visual Studio command line tools includes: cl (the compiler) - To compile and link source code files into apps, libraries...
2017-08-21, 255👍, 0💬

Convert XML to JSON with PHP
How to convert an XML document to a JSON text string with PHP language? Currently, there is no built-in function or any standard extension that you can use to convert an XML document to a JSON text string. But you can use the following PHP example, xml_to_json_converter.php, to convert an XML docume...
2017-08-17, 254👍, 0💬

Can Two HTML Forms Be Nested
Can Two Forms Be Nested? Can two forms be nested? The answer is no and yes: No. You can not nest two forms directly. XHTML schema does not allow that. Yes. You can nest two forms indirectly. See the tutorial example below. No. Two nested form do not work as two forms. Browsers will treat them as one...
2017-04-01, 253👍, 0💬

Converting Character to ASCII Value in PHP
How To Convert a Character to an ASCII Value? If you want to convert characters to ASCII values, you can use the ord() function, which takes the first charcter of the specified string, and returns its ASCII value in decimal format. ord() complements chr(). Here is a PHP script on how to use ord(): &...
2016-10-13, 253👍, 0💬

JSON Schema Validation for JSON Number Values
What validation keywords I can use in JSON Schema to specifically validate JSON Number values? The current JSON Schema specification supports the following validation keywords to specifically validate JSON Number values. They are not applied if the JSON instance is not a JSON Number. "multipleOf" - ...
2017-09-01, 250👍, 0💬

HTML 'textarea' Element Attributes
What Are the Attributes of a "textarea" Element? There are several commonly used attributes for a "textarea" element: rows="n" - Required attribute. Used to specify the number of rows of the text input area. cols="n" - Required attribute. Used to specify the number of columns of the text input area....
2017-04-04, 248👍, 0💬

Create "Add to Bloglines" Button
How To Create an "Add to Bloglines" Button on Your Website? If you want to create an "Add to Bloglines" button your own Web site, you can follow this tutorial: 1. Create an RSS Atom 1.0 feed file for your site, and make it accessible with a URL. If the feed file is generated dynamically, take the UR...
2017-09-24, 247👍, 0💬

HTML Element Contents
What Is the XHTML Element Content? The content of an HTML element is everything you entered between the opening tag and the closing tag of the element. Here are some good examples of XHTML element contents: &lt;!-- An empty table cell --&gt; &lt;td&gt;&lt;/td& amp;gt;&lt;!-- ...
2017-07-30, 247👍, 0💬

Generic JSON Schema Validation Keywords
What are other generic JSON Schema validation keywords? Several other generic JSON Schema validation keywords are listed below. They are always applied to the JSON instance. "enum" - The JSON instance must match one of the elements in the given array. For example, JSON Schema: {"enum": ["YES", "NO"]...
2017-08-25, 246👍, 0💬

Generating Character from ASCII Value in PHP
How To Generate a Character from an ASCII Value? If you want to generate characters from ASCII values, you can use the chr() function. chr() takes the ASCII value in decimal format and returns the character represented by the ASCII value. chr() complements ord(). Here is a PHP script on how to use c...
2016-10-13, 246👍, 0💬

Create "Add to Google Reader" Button
How To Create an "Add to Google Reader" Button on Your Website? If you want to create an "Add to Google Reader" button your own Web site, you can follow this tutorial: 1. Create an RSS Atom 1.0 feed file for your site, and make it accessible with a URL. If the feed file is generated dynamically, tak...
2017-09-24, 244👍, 0💬

Examples of Invalid JSON Values
Where to see some Examples of Invalid JSON Values? Here are some Examples of Invalid JSON Values: 1. Invalid JSON Strings: 'John' - Wrong quotes "John says "Hello!"" - " inside the string must use escape sequence \" 2. Invalid JSON Numbers: $1.00 - Currency sign is now allowed in numbers 99.00 * 0.1...
2017-08-13, 244👍, 0💬

Use Developer Portal Internally
How to use the Developer Portal internally by you as the publisher? Normally, the Developer Portal of an Azure API Management Service is used by client developers. But as a publisher, you can also use the Developer Portal to test API operations internally. You can follow this tutorial to access the ...
2017-09-20, 240👍, 0💬

HTML Element Content Models
What Are the HTML Element Content Models? There are 4 content models defined for HTML elements: 1. EMPTY - No content. Nothing between the opening tag and the closing tag. For example: &lt;br/&gt; - "br" element has no content. &lt;br&gt;&lt;/br& amp;gt;- Same as above. &lt;m...
2017-07-30, 239👍, 0💬

JSON Schema Validation for JSON Object Values
What validation keywords I can use in JSON Schema to specifically validate JSON Object values? The current JSON Schema specification supports the following validation keywords to specifically validate JSON Object values. They are not applied if the JSON instance is not a JSON Object. "maxProperties"...
2017-09-01, 238👍, 0💬

'pass' - Do Nothing Statements
How to use the "pass" statement in Python code? The "pass" statement can be used as a place holder statement any where in Python code. When a "pass" statement is interpreted, Python will do nothing and continue with next statement. For example, the following Python code shows an empty function with ...
2017-09-12, 237👍, 0💬

Defining Functions in Python
Where to find tutorials in Defining Functions in Python? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Defining Functions in Python: What Is Function 'def' - Function Definition Statements 'return' Statement in Function Statement Block Functi...
2017-09-12, 237👍, 0💬

JSON-stringify.html - JSON.stringify() Example Code
Where to get a JSON.stringify() Example Code in JavaScript? Here is a good JSON.stringify() example code in JavaScript. &lt;!-- JSON-stringify.html Copyright (c) FYIcenter.com --&gt; &lt;html&gt; &lt;body&gt; &lt;script type="text/javascript"&gt; var str1 = JSON.strin...
2017-09-08, 237👍, 0💬

JSON Type Unique Identifications
How to assign a unique identification to a JSON type in JSON Schema? Using "definitions" and "$ref" properties allows to define JSON types and reference them internally in the same JSON schema or externally in another JSON schema. You can also assign a unique identification to a JSON type with the "...
2017-08-20, 237👍, 0💬

JSON.stringify() Function in JavaScript
Where to get the detailed description of the JSON.stringify() Function in JavaScript? Here is the detailed description of the JSON.stringify() Function in JavaScript. Description - The JSON.stringify() method converts a JavaScript value to a JSON string, optionally replacing values if a replacer fun...
2017-09-08, 234👍, 0💬

<< < 11 12 13 14 15 16 17 18 19 20 > >>   Sort: Date