Here’s an example 
https://stackoverflow.com/questions/10026626/check-if-html-snippet-is-valid-with-javascript


Peter Dobbs
President | ENGINESS | P: 416.901.6151<tel:416.901.6151;118> | F: 
416.901.6150<tel:416.901.6150> | enginess.io<www.enginess.io>

[cid:]

This email and any attachments are confidential and are intended only for the 
person(s) to whom it is addressed. It you are not the addressee named above, 
any use, copying, distribution or disclosure is strictly unauthorized. If you 
have received this information in error, please delete it and any attachments 
and notify me immediately.


On Apr 22, 2019, at 10:53 AM, Fogelson, Steve 
<[email protected]<mailto:[email protected]>> wrote:

I am looking for suggestions for simple HTML tag validation.

When a user enters content, they quit often forget a bracket, closing tag, 
nested incorrectly, etc.

They usually only use the following tags.
<p></p>
<br />
<span
<ul></ul>
<li></li>
<ol></ol>
<div></div>
<strong></strong>
<a href></a>
<img scr= />

I am not real strong in DOM, but I was wondering if this might be useful.

Other ides are appreciated as well.

Thanks for any suggestions.

Steve Fogelson
Internet Commerce Solutions



________________________________
To unsubscribe from this list, please send an email to 
[email protected]<mailto:[email protected]> with "unsubscribe 
terascript-talk" in the body.


----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to