Articles with the tag #HTML:

Image of code sample for the article: How to remove all HTML tags from a string?

How to remove all HTML tags from a string?

When counting text characters in HTML strings, you usually do not want to include the characters in the HTML markup code. While parsing HTML with RegExp does have its limits, in this case, RegExp works very well. …read more

Image of code sample for the article: Custom element hearts for Valentine's Day

Custom element hearts for Valentine's Day

Tomorrow is Valentine's Day, so what could be more fitting than making a custom valentine-hearts element for your web page? …read more

Image of code sample for the article: How do you create a custom element?

How do you create a custom element?

Custom elements are part of the Web Components standard. They allow you to extend the browser's native HTML elements or create new ones. When used well, this makes them portable and reusable in any later projects without worrying about backward compatibility or framework choices. …read more