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

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

Broswers Supporting Multiple HTML Forms
Do Broswers Support Multiple Forms? XHTML 1.0 does allow you to create multiple forms in a single XHTML document. Most browsers will display and handle multiple forms properly. If click a submit button in one form, browsers will submit input data only for that one form. Input data from other forms w...
2017-04-01, 265👍, 0💬

Applying UUEncode to a String in PHP
How To Apply UUEncode to a String? UUEncode (Unix-to-Unix Encoding) is a simple algorithm to convert a string of any characters into a string of printable characters. UUEncode is reversible. The reverse algorithm is called UUDecode. PHP offeres two functions for you to UUEncode or UUDecode a string:...
2016-10-13, 265👍, 0💬

HTML 'input' Tag/Element
What Is an "input" Tag/Element? An "input" element is an inline element that can used inside a "form" element to define an input field. Here are basic rules about an "input" elements: An "input" element is an inline element. It can not be used directly inside a "form" element. It can only be used in...
2017-04-19, 264👍, 0💬

References to JSON Types Defined Externally
How to reference a JSON type that is defined externally in another JSON Schema? If a JSON type is defined externally in another JSON schema, you can reference it using its absolute address. For example, the following JSON schema has two external references. One refers to a JSON Type defined in a loc...
2017-08-25, 262👍, 0💬

Values Submitted in HTML Radio Button Fields
What Are the Values Submitted on Radio Button Fields? A "radio" button input field does not allow viewers to enter any input values directly. If a form is submitted, "radio" button input fields will be submitted with values based on the following rules: If a "radio" button is not pushed, no value wi...
2017-04-15, 262👍, 0💬

HTML Input Field 'label' Tag/Element
What Is a "label" Tag/Element? A "label" element is an inline element that you can use to define a label for a form input field. Here are basic rules about a "label" element: "label" elements are inline elements. "label" elements can only be used as sub-elements of "form" elements. A "label" element...
2017-04-01, 262👍, 0💬

Technical Specifications for File Upload in PHP
How To Get the Technical Specifications for File Upload in PHP? File upload technical specifications is provided in "Form-based File Upload in HTML - RFC 1867". You can get a copy from http://www.ietf.org/rfc/rfc186 7.txt.  ⇒Uploading Files to Web Servers in PHP ⇒⇒PHP Tutorials
2016-10-14, 262👍, 0💬

JSON Schema Validation Keywords
How many validation keywords are supported in JSON Schema? The current JSON Schema specification supports 29 validation keywords: "multipleOf" - If the JSON instance is a number, it must be a multiple of the given value. "maximum" - If the JSON instance is a number, it must be less than or equal to ...
2017-09-01, 260👍, 0💬

Converting Leading Characters to Upper Case in PHP
How To Convert Leading Characters to Upper Case? If you are processing an article, you may want to capitalize the first character of a sentence by using the ucfirst() function. You may also want to capitalize the first character of every words for the article title by using the ucwords() function. H...
2016-10-13, 260👍, 0💬

Floating an Image to the Right Side in HTML
How To Float an Image to the Right Side? If you want to float an image to the right side of the paragraph instead of inline within a text line, you have to use the CSS property "float" to do this. The "float" property takes two values: "float: left" - Specifies that the image to be floated to the le...
2017-03-27, 259👍, 0💬

HTML 'map' Tag/Element
What Is a "map" Tag/Element? A "map" element is special inline element that you to define map entries to be used by image maps. Here are some basic rules on "map" elements: "map" elements are inline elements. "map" elements can not have text contents. "map" elements should have "area" elements as su...
2017-03-22, 259👍, 0💬

Replacing a Substring in PHP
How To Replace a Substring in a Given String? If you know the position of a substring in a given string, you can replace that substring by another string by using the substr_replace() function. Here is a PHP script on how to use substr_replace(): &lt;?php $string = "Warning: System will shutdown...
2016-10-13, 259👍, 0💬

HTML Drop Down List 'option' Tag/Element
What Is an "option" Tag/Element? A "option" element is an inline element that you can use to define one option of a dropdown input field in a form. Here are basic rules about a "option" element: "option" elements are inline elements. "option" elements can only be used as sub-elements of "select" ele...
2017-04-01, 258👍, 0💬

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

WPF App with VC# and XAML in Visual Studio 2017
How to build a WPF application with VC# and XAML in Visual Studio 2017? If you want to build a WPF (Windows Presentation Foundation) application with VC# and XAML in Visual Studio 2017, you can follow this tutorial 1. Start Visual Studio 2017 with .NET development environment. 2. Click "File &gt...
2017-08-13, 256👍, 0💬

HTML Drop Down List 'select' Tag/Element
What Is a "select" Tag/Element? A "select" element is an inline element that you can use to define a dropdown input field in a form. Here are basic rules about a "select" element: "select" elements are inline elements. "select" elements can only be used as sub-elements of "form" elements. A "select"...
2017-04-01, 256👍, 0💬

HTML Elements with EMPTY Contents
What Are the HTML Elements Defined with EMPTY Contents? The following HTML elements are defined to use the EMPTY content model: &lt;meta ... /&gt; - Element to provide meta data to the document. &lt;link ... /&gt; - Element to provide a link to a CSS file. &lt;br/&gt; - Eleme...
2017-07-30, 255👍, 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, 255👍, 0💬

The 'checked' Attribute of some HTML Elements
What Is Wrong with My "checked" Attribute Values? Attribute "checked" is an optional attribute for HTML element "input". In XHTML specification, attribute "checked" has only one predefined value: "checked". However, in HTML specification, attribute "checked" requires no value. If you are converting ...
2017-07-30, 254👍, 0💬

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, 254👍, 0💬

JSON-parse-Transformed.html - JSON.parse() Value Transformed
How to write a reviver function to transform values while the JSON.parse() function is parsing the JSON text string? Below is a good example on using a reviver function with the JSON.parse() call to transform parsed JSON element values: &lt;!-- JSON-parse-Transformed.html Copyright (c) FYIcenter...
2017-09-08, 252👍, 0💬

JSON Type Definitions and References
How to define a JSON type and reference it in JSON Schema? If you want to define a JSON type, and reference it later in your JSON Schema, you can: 1. Name your JSON type can put it inside the "definitions" property. For example, "rating" as a JSON type can be defined as shown below: { "definitions":...
2017-08-25, 252👍, 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, 251👍, 0💬

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