1

I am trying to create a visualforce page with some bootstrap in it. I can't understand the error I get on these lines of code, line 2, I get this message:

Error: The element type "label" must be terminated by the matching end-tag "".

I think is correctly terminated, isn't it??

  <div class="form-group">
    <label for="rut">Rut Asugurado: <span class="glyphicon glyphicon-search"/></span></label>
    <input type="rut" class="form-control" id="rut"/>
  </div>
2

You are closing the span tag two times: <span class="glyphicon glyphicon-search"/></span>

Just replace it with: <span class="glyphicon glyphicon-search"></span>

|improve this answer|||||
1

You have a self closing span then this

</span>

Remove the </span>

|improve this answer|||||
1

span tag is not ended properly. Try below code:

 <div class="form-group">
    <label for="rut">Rut Asugurado: <span class="glyphicon glyphicon-search"></span></label>
    <input type="rut" class="form-control" id="rut"/> 
  </div>
|improve this answer|||||
0

You have a self-closing span tag followed by a close span tag. If you get rid of the extra /, you should be fine.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.