answersLogoWhite

0

What is HTML code for drop caps?

Updated: 10/25/2022
User Avatar

Wiki User

11y ago

Best Answer

You will need to use CSS, not HTML per se. You can do it like this, encasing the first latter of the text in a span.

HTML

<p> <span class="firstcharacter">L</span> orem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tristique lobortis orci ac lacinia. Fusce eu purus eget diam vehicula auctor nec eu elit. Morbi consequat facilisis orci vel malesuada. Donec ultrices molestie sollicitudin. Aliquam pharetra libero enim. Donec et suscipit massa. Donec dui odio, dignissim non sodales et, tincidunt a sapien. Phasellus elit nibh, adipiscing sed blandit vel, interdum et arcu. </p>

CSS

.firstcharacter { float: left; color: #903; font-size: 75px; line-height: 60px; padding-top: 4px; padding-right: 8px; padding-left: 3px; font-family: Georgia; }

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is HTML code for drop caps?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What Is The Code To Show An Html A Text?

&lt;code&gt;&lt;code&gt;HTML TEXT HERE&lt;/code&gt;&lt;/code&gt;


HTML code has a limit of 10 webpages per site?

No! HTML is simply code. You can write 1 million pages of HTML code if you want. HTML is not a program. Its code. Now you may have a program that uses HTML code and that program has limitations. But not HTML itself.


How do you pull up your HTML code?

You can pull up your HTML code by right clicking the code and hitting, View Source. This will open the HTML code and you can format it.


What Pokemon game has a HTML code?

No game has HTML code because HTML is only for web design.


What is the name given to a piece of HTML code?

There is no specific name to a piece of HTML code. It is just an HTML code written in markup language.


Can you see the HTML code in Kompozer?

Yes, you can see the HTML code in Kompozer.


What is HTML code used for in dreamweaver?

HTML (Hypertext Markup Language) is a code language used for web documents. Browsers interpret this code and construct the web page from it.Dreamweaver is a so-called "WYSIWYG" (What you see is what you get) page design software. This means you design the page by inserting elements and moving them (e.g. per drag&drop). Dreamweaver then constructs HTML code from your page that will, hopefully, look the same when loaded in a browser. Most (if not all) versions of Dreamweaver also allow you to edit the result HTML code yourself.


Drop caps look better if you increase of the first line?

Drop caps generally look better if you decrease the line height of the first letter.


What are the advantages and dsiadvantages of HTML converters?

there is not many disadvantages of HTML code editors but there are allot of advantages. HTML code editors can be helpful to others just as much as to them self's if not more. HTML code editors usually design websites and or web pages like the one this answer is on. the disadvantages all depend on the HTML code editor. example of a HTML code editor that has a disadvantage would be a HTML code editor that over advertises. Hope this helps &lt;:


What is the HTML code for music?

The HTML code for music is &lt;audio&gt;. This tag is only present in HTML 5 and helps to embed music into the page.


How does HTML code produce the form displayed in the browser?

As subtle distinction between HTML and browser is that HTML code does not produce the form; the browser produces the form. The browser interprets HTML code to determine how to display page content.


What is the HTML code for animal jam?

you cant get it its cod is html