Computer Science, asked by nishakri542003, 3 months ago

f) Write First line with Font type = “Arial Black” Size = 12 pt., Font Colour=” Red”,

Text highlight colour = “Yellow”, Align = Centre.​

Answers

Answered by NirmalPandya
0

<SPAN style = "font-family: arial black; font-size: 12 pt; color: red; background-color : yellow; text-align:centre"> </SPAN>

Here we have used inline CSS.

  • To apply a particular style to a single HTML element, use an inline CSS. The style property of an HTML element is used by inline CSS.
  • Serif, sans serif, cursive, fantasy, and monospace are the five fundamental font kinds or families used in CSS (and typography in general). The choice of typeface significantly affects how readers interact with a website. Your brand may develop a strong identity with the help of the correct typeface. It's crucial to have a typeface that is simple to read. Your writing is made better by the font. The right colour and text size for the font should be chosen as well.
  • The font-size attribute determines the text's size. In web design, the ability to control font size is crucial. However, you shouldn't utilise font size changes to make headers or paragraphs appear to be one another. Always use the appropriate HTML tags, such as p> for paragraphs and h1> to h6> for headers. A relative or absolute size can be specified for the font-size property.
  • Predefined color names or RGB, HEX, HSL, RGBA, and HSLA values are used to specify colors.
  • Background effects for items are added using the CSS background properties.
  • Use margin: auto to horizontally center a block element (such as div>);Setting the element's width will stop it from encroaching on the borders of its container. Use text-align: centre to simply center the content within an element.

#SPJ1

Answered by anjaliom1122
0

<SPAN style = "font-family: arial black; font-size: 12 pt; color: red; background-color : yellow; text-align:centre"> </SPAN>

Then, inline CSS has been used.

Use an inline CSS to apply a specific style to a single HTML element. Inline CSS makes advantage of an HTML element's style property.

The five primary fountain families or types used in CSS are serif, sans serif, cursive, fantasy, and monospace( and typography in general). The typeface a website uses has a big impact on how compendiums engage with it. The right typeface can help your brand establish a distinctive personality. A typeface that's easy to read is essential. The typeface enhances your jotting. also, the applicable textbook size and colour for the typeface should be named.

The size of the textbook is determined by the fountain- sizeattribute.Controlling fountain size is essential for web design. nonetheless, you should not use variations in fountain size to make heads or paragraphs blend into one another. Always use the proper HTML markers, similar as h1 to h6 for heads and p for paragraphs. The fountain- size trait allows for either an absolute or relative size to be supplied.

Colors can be specified using predefined colour names or RGB, HEX, HSL, RGBA, and HSLA values.

The CSS background attributes are used to add background goods to effects.

To horizontally centre a block element( like div>), use the periphery bus setting. Setting the element's range will help the element from intruding on the borders of its vessel. To simply centre the content within an element, use textbook- align centre.

Similar questions