Reputation: 1
What is name called ?
And how to make this in html ?
Upvotes: 0
Views: 110
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
Reputation:
~ this symbol is TILDE
<span>~</span>
_* This symbol is asterisk
<span>*</span>
check this code
span{
color:blue;
font-size:50px;
}
body{
background:black;
}
<span>~</span>
<span>*</span><span>~</span>
<span>*</span><span>~</span>
<span>*</span><span>~</span>
<span>*</span><span>~</span>
<span>*</span><span>~</span>
<span>*</span><span>~</span>
<span>*</span><span>~</span>
<span>*</span><span>~</span>
<span>*</span><span>~</span>
<span>*</span><span>~</span>
<span>*</span><span>~</span>
<span>*</span>
Upvotes: 2
Reputation: 1424
One is simple Asterisk (*) & the other one is low tilde that can be written as ˷
So ......
<span style="color: blue;">
˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*˷*
</span>
Upvotes: 0