/    Sign up×
Community /Pin to ProfileBookmark

Characters like []

I need to know if [XXXXXX] is allowed inside validation.

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@CaptainSessaOct 04.2011 — I think no one will get your question if you don't ask properly..

  • - What validation?

  • - Are you referring to the bracket characters only?
  • Copy linkTweet thisAlerts:
    @toplisekauthorOct 04.2011 — I have the following code and text can be optional inside brackets.

    <h1>Your domain experrts [blabla] </H1>

    One validation can be found at:http://validator.w3.org/

    Markup Validation Service. Check the markup (HTML, XHTML, &#8230? of Web documents.
    Copy linkTweet thisAlerts:
    @CaptainSessaOct 04.2011 — The answer is:

    Yes you may use the bracket characters.

    You will only want to pay attention for tag names, because e.g. <input type="text" name="test[]"> will tell eventual code evaluating the thing, that test is an array..

    I hope I got what you wanted to ask.

    P.S: You'll find a list of special characters in HTML that may not be used and it's equivalent entity names here:

    http://www.w3schools.com/tags/ref_entities.asp
    ×

    Success!

    Help @toplisek spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.8,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...