If you want to have a rounded border on paragraphs, follow the example below to learn how to do it. This page contains HTML table border code - HTML codes for specifying or changing the border of your tables within your blog or web page. For a thicker border, use a greater number.Like this:As you can see, this is a quick and easy way to get a table border, but you don't actually have any control over the way the border looks. The padding inside the border adds 10px on top and 25px on each side to add padding on each side of the page. To draw semi-transparent borders use rgba(R,G,B,Transparency %) color format. Specify the border and margin properties and add a background. JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Using these steps, any user can easily create the border. In the same way you can add a border to other HTML elements. or an image. The output of above Html code is shown in the following screenshot: If we want to add the border in Html using Internal CSS, then we have to follow the steps which are given below. Let’s see an example where all the table elements are rounded. Let’s now practice setting values for the border of an HTML element. To add a border to an HTML

, you first need to know how to create an HTML table. Hi Richard, There are a few options on how to enclose your form with a customizable border. Borders appear directly between the margin and padding of an element. Adding borders to images with specific id's, or using the class code to do the same. To add a border to your table, you need to define the