;

How to Add Text Formatting in HTML

What is text format in html



buayaberdiri.blogspot.com - In html we can make text formats such as numbers and letters bold, italic, small, strikethrough, running, and others. This text format is often used on websites and applications.


How to Bold Letters or Numbers


In html we can bold text letters or numbers by using <b> and <strong> tags :

Example of using <b> tag in html :

<b> Example Teks Bold : Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro vero tenetur similique sed maxime eum?</b>


Example of using <strong> tag in html :


<strong>Example Teks Strong: ipsum dolor, sit amet consectetur adipisicing elit. Culpa, voluptate! </strong>


The two tag codes above both produce bold text, you can choose one of these tags.


How to Use Italic Text in HTML


In html we can insert italic text format, this format is also often used in sentences in articles on websites or blogs.

<em>Example Teks Italic : Lorem ipsum dolor sit amet.</em>


Or you can also use the <i> tag :

<i>Example Teks Italic :Lorem ipsum dolor sit amet consectetur.</i>


The two tag codes above both result italic text.

How to Make Text Format Running or Moving


In html we can make text run or move from left to right continuously.

<marquee>Example Teks Marquee : : Lorem ipsum dolor sit.</marquee>


How to Create Small Text


We can reduce the size of text or letters and numbers without having to use css codes.


<small>Example Teks Marquee : Lorem, ipsum dolor.</small>



Insert strikethrough format text in html


In html we can make text formatting on letters and numbers to be crossed out in the middle of the text. By using the delete tag in the html we can do that.

<del>Example Teks Del : Lorem ipsum dolor sit.</del>



Get to know the Inserted text format in html


this text format produces underlines in text, this is similar to <u></u> or underline tags


<ins>Example Teks Inserted : Lorem ipsum dolor sit.</ins>


How to make subscript text in html


Format teks subscript ini membuat text menjadi turun kebawah, teks ini cocok digunakan pada penulisan matematika dan rumus kimia, seperti H2O.


<p>This is Example <sub>Subs</sub> Format Text</p>


Added Superscript text format


In html we can also insert superscript text, this text format can be used in mathematical writing such as writing air temperature, for example 10 degrees reamur



<p>This is Example Sup Format : Write 10<sup>0</sup></p>







List of Article Posts https://buayaberdiri.blogspot.com