Jump to content

What is the text property in HTML ?


asianmartt

Recommended Posts

  • There are properties to control t XX he choice of font, size, weight, style, and spacing.

There is a limited choice of fonts that you can assume most people will have installed.

If you want to use a wider range of typefaces there are several options, but you need to have the right license to use them.

You can control the space between lines of text, individual letters, and words. Text can also be aligned to the left, right, center, or justified. It can also be indented.

You can use pseudo-classes to change the style of an element when a user hovers over or clicks on text, or when they have visited a link.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.