DEV Community

loading...

HTML Tips

denicmarko profile image Marko Denic Originally published at markodenic.com Updated on ・1 min read

In this article I will share with you some very useful HTML tips. Enjoy!

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

  • Fieldset Element

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

  • 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 No Opener

  • Base Element

If you want to open all links in the document in a new tab, you can use element.

If you liked this post, be sure to ❤️ it.

This article is a repost from my blog. Find the original post here.

Discussion (0)

pic
Editor guide