• Anonymous (unregistered)

    Hey, don't get testy with me!

  • guest (unregistered)

    what the... data links are allowed? data:text/html,<script>alert(document.cookie);</script>

    nice find, Chris Morgan!

  • anonymous (unregistered) in reply to guest
    guest:
    what the... data links are allowed? data:text/html,<script>alert(document.cookie);</script>

    nice find, Chris Morgan!

    [image]

    W3Schools.com HOME HTML CSS JAVASCRIPT JQUERY XML ASP.NET PHP SQL MORE... REFERENCES | EXAMPLES | FORUM | ABOUT JavaScript Reference Overview JavaScript Objects JS Array JS Boolean JS Date JS Math JS Number JS String JS RegExp JS Global Browser Objects Window Navigator Screen History Location HTML DOM Objects DOM Document DOM Elements DOM Attributes DOM Events HTML Objects DOM Anchor DOM Area DOM Base DOM Body DOM Button DOM Form DOM Frame/IFrame DOM Frameset DOM Image DOM Input Button DOM Input Checkbox DOM Input File DOM Input Hidden DOM Input Password DOM Input Radio DOM Input Reset DOM Input Submit DOM Input Text DOM Link DOM Meta DOM Object DOM Option DOM Select DOM Style DOM Table DOM td / th DOM tr DOM Textarea Style letterSpacing Property Style Object Reference Style Object Definition and Usage The letterSpacing property sets or returns the space between characters in a text. Syntax Set the letterSpacing property: Object.style.letterSpacing="normal|length|inherit" Return the letterSpacing property: Object.style.letterSpacing Value Description normal Normal space between characters. This is default length Defines the space in length units. Negative values are allowed inherit The value of the letterSpacing property is inherited from parent element Browser Support Internet Explorer Firefox Opera Google Chrome Safari The letterSpacing property is supported in all major browsers. Note: The value "inherit" is not supported in IE7 and earlier. IE8 requires a !DOCTYPE. IE9 supports "inherit". Example Example Change the space between characters: <html> <head> <script> function displayResult() { document.getElementById("p1").style.letterSpacing="15px"; } </script> </head> <body>

    This is some text.


    <button type="button" onclick="displayResult()">Change letter spacing</button> </body> </html> Try it yourself » Style Object Reference Style Object Search w3schools.com: Select Language? WEB HOSTING WEB BUILDING WEB RESOURCES Web Statistics Web Validation SHARE THIS PAGE Top 10 Tutorials » HTML Tutorial » HTML5 Tutorial » CSS Tutorial » CSS3 Tutorial » JavaScript Tutorial » jQuery Tutorial » SQL Tutorial » PHP Tutorial » ASP.NET Tutorial » XML Tutorial Top 10 References » HTML/HTML5 Reference » CSS 1,2,3 Reference » CSS 3 Browser Support » JavaScript » HTML DOM » XML DOM » PHP Reference » jQuery Reference » ASP.NET Reference » HTML Colors Top 10 Examples » HTML Examples » CSS Examples » XML Examples » JavaScript Examples » HTML DOM Examples » jQuery Examples » XML DOM Examples » AJAX Examples » ASP Examples » SVG Examples Web Certificates » HTML Certificate » HTML5 Certificate » CSS Certificate » JavaScript Certificate » jQuery Certificate » XML Certificate » ASP Certificate » PHP Certificate Color Picke colorpicke W3Schools.com REPORT ERROR | HOME | TOP | PRINT | FORUM | ABOUT | ADVERTISE WITH US W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic understanding. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use and privacy policy. Copyright 1999-2013 by Refsnes Data. All Rights Reserved.

  • jessicaalex (unregistered)
    Comment held for moderation.

Leave a comment on “Internet is Broken - Time to Get a New Phone”

Log In or post as a guest

Replying to comment #:

« Return to Article