![]() ĭefine the font tag with its attribute value defined through CSS: Text with Increased font size having default font type. Text having normal font size and font face. General text without any Font tag attribute value Example #1ĭefining font tag with its attribute value: The only difference in defining attributes value. This attribute defines the boldness of the text of the font tag.įont tag can be used in two ways in HTML code, first as include font tag and its attribute value through HTML and second is by using define attribute value as CSS code. This attribute is used to show enclosed text in a different color. This attribute is used to define the font type for the included text. This attribute is used to define a specific size for text in between 1 to 7. Also, it supports some other attributes which areas listed below: Attribute Name This tag supports Global as well as Event attributes too. The face attributes in the font tag used to define the type of font type in our HTML document, whereas the color attribute is used to define the specific color to the enclosed text. ![]() This size can be defined in number from 1 to 7, where 1 is for the smallest text and 7 for the largest text size. Above syntax status that font size is the attribute into the syntax is used to set the specific size to the text.Web development, programming languages, Software testing & others Start Your Free Software Development Course
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |