JSFiddle - React, Tailwind, and code Playground

by Sukanya Halder

HTML

<!-- HTML Reference -->
<!-- <a> -->
<!-- download : This attribute, if present, indicates that the author intends the hyperlink to be used for downloading a resource so that when the user clicks on the link they will be prompted to save it as a local file.  Following Example downloads the html file given in href -->
<a href="http://www.example.com/index.html" download>Download</a>
<!-- ping : The 'ping' attribute, if present, sends the URLs of the resources a notification/ping if the user follows the hyperlink. -->
<a href="http://www.example.com/index.html" ping>Download</a>
<!-- rel : For anchors containing the href attribute, this attribute specifies the relationship of the target object to the link object. The value is a comma-separated list of link types values. The values and their semantics will be registered by some authority that might have meaning to the document author. The default relationship, if no other is given, is void. Use this attribute only if the href attribute is present.
https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types -->
<a href="http://www.example.com/index.html" rel="archives">Download</a>
<!-- target : This attribute specifies where to display the linked resource. The following keywords have special meanings:
_self: Load the response into the same HTML4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.
_blank: Load the response into a new unnamed HTML4 window or HTML5 browsing context.
_parent: Load the response into the HTML4 frameset parent of the current frame or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as _self.
_top: In HTML4: Load the response into the full, original window, canceling all other frames. In HTML5: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option...