[ad_1]
JavaScript style affects the look of a webpage and has five sections: text, font, box, rating, and backgrounds/colors. Each section has its own tags and affects different parts of the page. Text affects alignment and indentation, font affects style and family, boxes affect table edges and margins, classification affects lists, and background/color affects webpage and element colors.
A JavaScript® style is part of the JavaScript® code that affects the look or style of a web page. These styles can be divided into five sections: text, font, box, rating, and backgrounds and colors. Each section affects a different part of the web page, based on the creator’s needs, and comes with its own set of tags.
The JavaScript® style of the text affects the appearance of the text on the site. The items that can be changed here are the height of the lines, how the text is aligned and the size of the indentation for each paragraph. The JavaScript® style of the text does not affect the appearance of the font, only the organization of the text.
JavaScript® font styling is similar to text in that it affects letters, but this style changes the way the letters look, not how they are arranged. The areas that can be set with this JavaScript® style type are the font style and font family, whether all letters are uppercase or lowercase, and how light or dark the letters are. Font family refers to the font that the text will use, and font style refers to whether the text is regular, bold, or italic.
Boxes, or HTML (Hypertext Markup Language) tables, are influenced by the JavaScript® style of boxes. Other sections can also be edited with this style, but it’s mostly used for tables. The affected areas here are the edges in all four directions. Setting a margin, such as a margin of 20 pixels at the top, will push the box down by 20 pixels and cause that top 20 pixels of space to remain empty. This is commonly used to organize the entire web page.
Classification JavaScript® style is designed to affect lists, both numbered and bulleted. JavaScript® has only one attribute for this: listStyle. This affects how the list is organized with other items on the page. For example, if you set listStyle to “inside”, the list will appear inside another specified element.
The background and color style comes with two similar but different tags: backgroundColor and color. These two tags do exactly the same thing; they are used to set the color of the web page. However, BackgroundColor is used to color the entire web page background, while color is only used to set the color of a single element. Colors can be set using the color name, such as green or red, or using the hexadecimal value of the color.
[ad_2]