![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 11365 Articles
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
20 Views
The HTML DOM boxSizing property is used to specify the way an element’s total width and height is calculated. It can have "border-box" or "content-box" as values.Following is the syntax for −Setting the boxSizing property −object.style.boxSizing = "content-box|border-box|initial|inherit"The property values are explained as follows −ValueDescriptioncontent-boxThis is the default value and ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
42 Views
The HTML DOM box-shadow property is used for getting or setting the shadow in or around the frame of an element.Following is the syntax for −Setting the boxShadow property −box-shadow: none|h-offset v-offset blur spread color |inset|initial|inherit;The property values are explained as follows −ValueDescriptionnoneThis is the default value and displays no ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
34 Views
The HTML DOM borderWidth property is used as a shorthand for getting or setting the border width properties for an element. It takes from one to 4 values in the following ways −It assigns border-width in the clockwise direction if all 4 values are given.If only one value is given ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
20 Views
The HTML DOM borderTopWidth property is used for setting or getting the Top border width for an element.Following is the syntax for −Setting the borderTopWidth property −object.style.borderTopWidth = "thin|medium|thick|length|initial|inherit"The property values are explained as follows −ValueDescriptionThinThis specifies a thin border.MediumThis specifies the medium border and is the default value.ThickThis specifies ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
20 Views
The HTML DOM borderTopStyle property is used for setting or returning the Top border style for an element.Following is the syntax for −Setting the borderTopStyle property −object.style.borderTopStyle = valueThe above properties are explained as follows −ValueDescriptionNoneThis is the default value specifying no border.HiddenThis is same as "none" but will still ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
21 Views
The HTML DOM borderTopColor property is used to get or set the color for top border of an element.Following is the syntax for −Setting the borderTopColor property −object.style.borderTopColor = "color|transparent|initial|inherit"The above properties are explained as follows −ValueDescriptioncolorFor specifying the Top border color. Its default color is set to black.transparentThe makes ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
27 Views
The HTML DOM borderTop property is used as a shorthand for getting or setting the Top border properties for an element. The borderTop property contains border-Top-width, border-Top-style, border-Top-color.Following is the syntax for −Setting the borderTop property:object.style.borderTop = "width style color|initial|inherit"The above properties are explained as follows −ParameterDescriptionwidthFor setting the Top ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
38 Views
The HTML DOM borderStyle property is used as a shorthand for getting or setting the border style properties for an element. It takes from one to 4 values in the following ways −It assigns border-styles in the clockwise direction if all 4 values are given.If only one value is given ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
36 Views
The HTML DOM borderSpacing property is used for setting or returning the space between table cells.Following is the syntax for −Setting the borderSpacing property −object.style.borderSpacing = "length length|initial|inherit"The above properties are explained as follows −ValueDescriptionlength lengthIt is used for specifying the space between cells. If only one value is given ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
42 Views
The HTML DOM borderRightWidth property is used for setting or getting the Right border width for an element.Following is the syntax for −Setting the borderRightWidth property −object.style.borderRightWidth = "thin|medium|thick|length|initial|inherit"The property values are explained as follows −ValueDescriptionthinThis specifies a thin border.mediumThis specifies the medium border and is the default value.thickThis specifies ... Read More