Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <div class="container">
  <!-- 1. Address Element -->
    <p>Address Element</p>
      <a href="">kiranraj</a>
      <p>Location : Kerala, India</p>

  <!-- 2. Data Element -->

    <p>Data Element</p>
      <li><data value="1972">C Language</data></li>
      <li><data value="1979">C++ Language</data></li>
      <li><data value="1995">JavaScript</data></li>

  <!-- 3. Datalist Element-->

    <p>Datalist Element</p>
    <label for="SELECT">Pick a country</label>
    <input list="country" id="SELECT" />

    <datalist id="country">
      <option value="INDIA">
      <option value="USA">
      <option value="UK">
      <option value="GERMANY">
      <option value="RUSSIA">

  <!-- 4. Bidirectional Isolation Element -->

    <p>Bidirectional Isolation Element</p>
    <p><span>Hello World </span><bdi>مرحبا بالعالم</bdi></p>

  <!-- 5. Bidirectional Override Element -->

    <p>Bidirectional Override Element</p>
    <p>Hello World <bdo dir="rtl">Hello World</bdo></p>

  <!-- 6. Code Element -->

    <p>Code Element</p>
    <p>To install create-react-app use <code>npx create-react-app</code>.</p>

  <!-- 7. Description Element -->

    <p>Description Element</p>
      <dt>bdi tag</dt>
      <dd>The bdi tag help to display part of the text in the opposite direction</dd>
      <dt>bdo tag</dt>
      <dd>The bdo tag overrides the default text direction.</dd>

  <!-- 8. Keyboard input Element -->

    <p>Keyboard input Element</p>
    <p>Use <kbd>Ctrl</kbd> + <kbd>S</kbd> to save your work.</p>

  <!-- 9. Mark Element -->

    <p>Mark Element</p>
    <p>Use <mark>Ctrl+ S</mark> to save your work.</p>

  <!-- 10. Meter Element -->

    <p>Meter Element</p>

    <label for="Mark">Mark:</label>
    <meter id="Mark" min="0" max="100" value="80"></meter>

  <!-- 11. Noscript Element -->
    <p>Noscript Element</p>
      <p>JavaScript is disabled in the browser</p>

  <!-- 12. Object -->

    <p>Object Element</p>

    <object type="image/jpg" data="" width="250" height="200">

  <!-- 13. Output Element-->

    <p>Output Element</p>

    <form oninput="sum.value = parseInt(num1.value) + parseInt(num2.value)">
      <input type="number" name="num1" value="4"> +
      <input type="number" name="num2" value="7"> =
      <output name="sum">11</output>

  <!-- 14. Progress Element -->

    <p>Progress Element</p>

    <progress id="file" max="100" value="70"> 70% </progress>

  <!-- 15. sub element -->

    <p>sub Element</p>


  <!-- 16. sup element -->

    <p>sup Element</p>

    <p> (x + y)<sup>2</sup> = x<sup>2</sup> + 2xy + y<sup>2</sup></p>

  <!-- 17. Details Element -->

    <p>Details Element</p>

      <a href=""></a>
      <p>Location : Kerala, India</p>

  <!-- 18. Time Element -->
    <p>Time Element</p>
      The IPL starts at <time datetime="2021-05-04T20:00">20:00</time>.

  <!-- 19. var Element -->
    <p>Var Element</p>
    <p>let <var>x</var> = 10</p>

  <!-- 20. wbr Element -->
  <div class="wbr">
    <p>Wbr Element</p>

  <!-- 21. abbr Element -->
  <div class="wbr" id="23">
    <p>Abbr Element</p>
      <abbr title="kiran raj r">krr</abbr>

  <!-- 22. pre Element -->
    <p>Pre Element</p>
function greet(name) {
    console.log('Good Morning ' + name + '!');

sayHello('kiran raj');

  <!-- 23. q and cite Element -->
    <p>q and cite Elements</p>
    <q>Imagination is more important than knowledge.
      <cite>Albert Einstein</cite></q>

  <!--  24. samp element  -->
    <p>samp Elements</p>
    <p> x + y gives <samp>undefined</samp> </p>

  <!--   <dialog open>
    <p>Greetings, one and all!</p>
</div> -->


                * {
  font-size: 18px;
  padding: 0;
  margin: 0;

a {
  color: #fff;

.container {
  width: 100vw;
  height: auto;
  display: flex;
  align-item: center;
  margin: auto;
  counter-reset: id1;

div {
  padding: 40px;
  background-color: rgba(1, 1, 1, 0.9);
  margin-bottom: 20px;
  height: auto;
  width: 60%;
  display: flex;
  color: #fff;
  flex-direction: column;
  /*   justify-content: center; */
  align-items: center;
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset,
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
div > p:nth-child(1) {
  margin-bottom: 25px;
  color: red;
  font-size: 24px;
  position: relative;
  counter-increment: id1;

div > p:nth-child(1):before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: counter(id1) ".";
  display: block;
  color: #fff;
  left: -50px;
  top: -10px;
  padding: 10px;

.wbr p:nth-child(2),
.wbr p:nth-child(3) {
  width: 100px;
  margin-bottom: 10px;