Hellboy
Hellboy

Reputation: 1

How to make this symbol in html?

enter image description here

What is name called ?

And how to make this in html ?

Upvotes: 0

Views: 110

Answers (4)

user15422104
user15422104

Reputation:

Okay. The easiest way to do that is by using '*' Asterisk sign, tag, and '~'. What the tag does is it makes the text smaller and lower it. For example, in chemistry, you might want to write O2. However, this is not the right format and you can make the number 2 lower and smaller by using the sub tag

For your code, we can use the following syntax

<h1>*<sub>~</sub>*<sub>~</sub>*<sub>~</sub></h1>

The code above works. But as you can see, it is very messy and inefficient. We can do it much more better through JavaScript.

<!DOCTYPE html>
<html>
   <head></head>
   <body>
     <h1 id="heading"></h1>
      <script>
        var text = []
        for (let i = 0; i < 20; i++) {
          text[i] = "*<sub>~</sub>"
        }
        document.getElementById("heading").innerHTML = text.join("")
      </script>
   </body>
</html>

If you want to make more "*"s and "~", you can change the number twenty (i < 20) to a bigger number.

Upvotes: 0

ZedRei
ZedRei

Reputation: 46

Tilde = &#126;
Asterisk = &#42;

Upvotes: 1

user9652589
user9652589

Reputation:

~ this symbol is TILDE

<span>&#126;</span>

_* This symbol is asterisk

<span>*</span>

check this code

span{
color:blue;
font-size:50px;
}
body{
background:black;
}
<span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span><span>&#126;</span>
<span>*</span>

Upvotes: 2

John Doe
John Doe

Reputation: 1424

One is simple Asterisk (*) & the other one is low tilde that can be written as ˷

So ......

<span style="color: blue;">
&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*&#x2F7;*
</span>

Upvotes: 0

Related Questions