Computer Science, asked by zairawasim2000, 1 year ago

<marquee direction="left" behavior="slide" scrolldelay="5"> Hola frnds,</marquee>
can you pls tell me that how to change font style in HTML


Anonymous: kaisi ho?
Anonymous: wow
Anonymous: what are you doing??
iprantik: abe uncle nahi pategi sirf tera kategi
iprantik: lol
iprantik: u guys are chatting here and i am getting to many notifications so stop it

Answers

Answered by iprantik
3
✨✨hey friend here is ur ans ✨✨

to change font In HTML, you can change the size of text with the <font> tag using the size attribute. The size attribute specifies how large a font will be displayed in either relative or absolute terms. Close the <font> tag with </font> to return to a normal text size.

The default font size is 3, and the largest font size that can be displayed in a browser is 7.

To increase or decrease the size of the font relative to the default size, use <font size="+num"> or <font size="-num"> , where "num" is a number. For example, to make the text two sizes bigger, use:

<font size="+2">This is bigger text.</font>

To make text one size smaller, use:

<font size="-1">This is smaller text.</font>

To specify an absolute font size, use <font size="num"> , where "num" is a number from 1 to 7. (When you use absolute font sizes, the resulting display may be more dependent on the browser and hardware of the person viewing the page than when you use relative sizes.) For example, to display the smallest text possible, use:

<font size="1">This is really tiny text.</font>
Answered by ShahnwazHussain1
7

‏‏‎ ‎

&lt;html&gt;&lt;body&gt; &lt;marquee style="z-index:2;position:absolute;left:18px;top:97px;font-family:Cursive;font-size:14pt;color:#ffcc00;height:200px;" scrollamount="3" direction="down"&gt;✨Shahnawaz✨&lt;/marquee&gt; &lt;marquee style="z-index:2;position:absolute;left:1px;top:89px;font-family:Cursive;font-size:14pt;color:#ffcc00;height:100px;" scrollamount="7" direction="down"&gt;✨Shahnawaz✨&lt;/marquee&gt; &lt;marquee style="z-index:2;position:absolute;left:111px;top:7px;font-family:Cursive;font-size:14pt;color:#ffcc00;height:302px;" scrollamount="4" direction="down"&gt;♥️follow me♥️&lt;/marquee&gt; &lt;marquee style="z-index:2;position:absolute;left:225px;top:83px;font-family:Cursive;font-size:14pt;color:#ffcc00;height:371px;" scrollamount="3" direction="down"&gt;✨Shahnawaz✨&lt;/marquee&gt; &lt;marquee style="z-index:2;position:absolute;left:105px;top:53px;font-family:Cursive;font-size:14pt;color:#ffcc00;height:317px;" scrollamount="2" direction="down"&gt;♥️follow me♥️&lt;/marquee&gt;&lt;/body&gt; &lt;/html&gt;

&lt;marquee direction="left" behavior="slide" scrolldelay="5"&gt; Hellooo Dear&lt;/marquee&gt;

Similar questions