HTML (HyperText Markup Language) is the original programming language to create web pages. CSS (Cascading Style Sheets) will be added later, which would extend a wide range of styling options, the basic HTML code, but for several years, HTML was the only available Web-programming language, which could be done by browser applications. However, it is now common practice, the use of CSS to a Web page, the margin height and width, you can also set the margins of the page, using only HTML tags. This is done by adding attributes to the "" tag element.


HTML (HyperText Markup Language) is the original programming language to create web pages. CSS (Cascading Style Sheets) will be added later, which would extend a wide range of styling options, the basic HTML code, but for several years, HTML was the only available Web-programming language, which could be done by browser applications. However, it is now common practice, the use of CSS to a Web page, the margin height and width, you can also set the margins of the page, using only HTML tags. This is done by adding attributes to the "" tag element.
  • Open your website in a text-editor by clicking with the right mouse button, then click "Open". Click on "Notepad" or "WordPad." Click "OK".
  • Locate the "" tag element in the vicinity of the top of the HTML code.
  • Click to place the cursor before the " > " bracket at the end of the "" tag element. Press to create the space button on your keyboard, a single space character.
  • type "marginwidth='x'", and replace "x" with a number (in pixels), the edge between page elements (tables, images, etc.), and the left and right side of the browser window. For example, to the marginwidth attribute is set to 10 pixels, type "marginwidth='10'." Each of the right and left margins, use the "leftmargin='x'" and "rightmargin='x'" attributes in place of "marginwidth=" x "attribute", wherein "x" with the width of the border in pixels.
  • type "marginheight='x'", and replace "x" with the number (in pixels), the margin between any page elements and the top and bottom of the web browser window. For example, the marginheight attribute is set to 20 pixels, type "marginheight='20'." Each of the top and bottom edges of the page, use the "topmargin='x'", and "bottom margin='x'" attributes in place of "marginheight='x'" attribute to replace "x" with the margin height, in pixels.
  • Combine the attributes in the previous steps, the page set in the "" tag around the edges. For example, set the page margins to 10 pixels on the sides and 15 pixels from the top and the bottom, enter "." You set the top margin to 5 pixels, the bottom margin to 10 pixels, the left margin of 25 pixels and the right margin to 20 pixels, type "."








Margins in HTML Format, set


HTML (HyperText Markup Language) is the original programming language to create web pages. CSS (Cascading Style Sheets) will be added later, which would extend a wide range of styling options, the basic HTML code, but for several years, HTML was the only available Web-programming language, which could be done by browser applications. However, it is now common practice, the use of CSS to a Web page, the margin height and width, you can also set the margins of the page, using only HTML tags. This is done by adding attributes to the "" tag element.


HTML (HyperText Markup Language) is the original programming language to create web pages. CSS (Cascading Style Sheets) will be added later, which would extend a wide range of styling options, the basic HTML code, but for several years, HTML was the only available Web-programming language, which could be done by browser applications. However, it is now common practice, the use of CSS to a Web page, the margin height and width, you can also set the margins of the page, using only HTML tags. This is done by adding attributes to the "" tag element.
  • Open your website in a text-editor by clicking with the right mouse button, then click "Open". Click on "Notepad" or "WordPad." Click "OK".
  • Locate the "" tag element in the vicinity of the top of the HTML code.
  • Click to place the cursor before the " > " bracket at the end of the "" tag element. Press to create the space button on your keyboard, a single space character.
  • type "marginwidth='x'", and replace "x" with a number (in pixels), the edge between page elements (tables, images, etc.), and the left and right side of the browser window. For example, to the marginwidth attribute is set to 10 pixels, type "marginwidth='10'." Each of the right and left margins, use the "leftmargin='x'" and "rightmargin='x'" attributes in place of "marginwidth=" x "attribute", wherein "x" with the width of the border in pixels.
  • type "marginheight='x'", and replace "x" with the number (in pixels), the margin between any page elements and the top and bottom of the web browser window. For example, the marginheight attribute is set to 20 pixels, type "marginheight='20'." Each of the top and bottom edges of the page, use the "topmargin='x'", and "bottom margin='x'" attributes in place of "marginheight='x'" attribute to replace "x" with the margin height, in pixels.
  • Combine the attributes in the previous steps, the page set in the "" tag around the edges. For example, set the page margins to 10 pixels on the sides and 15 pixels from the top and the bottom, enter "." You set the top margin to 5 pixels, the bottom margin to 10 pixels, the left margin of 25 pixels and the right margin to 20 pixels, type "."

Margins in HTML Format, set

HTML (HyperText Markup Language) is the original programming language to create web pages. CSS (Cascading Style Sheets) will be added later, which would extend a wide range of styling options, the basic HTML code, but for several years, HTML was the only available Web-programming language, which could be done by browser applications. However, it is now common practice, the use of CSS to a Web page, the margin height and width, you can also set the margins of the page, using only HTML tags. This is done by adding attributes to the "" tag element.
Margins in HTML Format, set
Margins in HTML Format, set
Recommend to friends
  • gplus
  • pinterest

Recent posts

Comment

Leave comment

Rating