HTML Tips

HTML Tips Banner
Post Author - Marko by Marko | April 12, 2020

In this article I will share with you some very useful HTML tips. Enjoy!
* Post will be updated regularly with new tips!

But first, what is HTML?

Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.

 

Let’s start!

* HTML Native Search

See the Pen Native HTML Search by Marko (@denic) on CodePen.

* Fieldset Element

You can use <fieldset> element to group several controls as well as labels (<label>) within a web form.

See the Pen Fieldset Element by Marko (@denic) on CodePen.

* Window.opener

Pages opened with target=”_blank” allow the new page to access the original’s window.opener. This can have security and performance implications. Include rel=”noopener” or rel=”noreferrer” to prevent this.

rel noopener image

* Base Element

If you want to open all links in the document in a new tab, you can use <base> element:

See the Pen Base Element by Marko (@denic) on CodePen.

To be continued…

Did you liked this article? Share it with your friends: