joi, 30 iulie 2015

Html entities

Reserved characters in HTML must be replaced with character entities. Characters that are not present on your keyboard can also be replaced by entities. Tab;, #x00009;, #9;, CHARACTER TABULATION.

NewLine;, #x0000A;, #10;, LINE FEED (LF) ! This function is identical to htmlspecialchars() in all ways, except with htmlentities(), all characters which have HTML character entity equivalents are translated . Here is a set of tables containing the 2allowed entities in HTML and XHTML 1. Complete list of all HTML entities with their name and numbers.

HTML entity encoding and decoding for Ruby. HTML validity and XSS attack prevention you can achieve from XmlEntities class. HTML::Entities - Encode or decode strings with HTML entities. HTML entities found in the $string with the corresponding Unicode character.


Encode and decode HTML entities from selected text or the current document. If you want you can add this code to you .

Niciun comentariu:

Trimiteți un comentariu

Rețineți: Numai membrii acestui blog pot posta comentarii.

Postări populare