answersLogoWhite

0

How do you remove the padding around an H1 tag?

Updated: 8/16/2019
User Avatar

Wiki User

14y ago

Best Answer

Put the following markup wherever you place your CSS (That is, if you use CSS). ---- h1 {padding:0px;} ----

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you remove the padding around an H1 tag?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the default styling for h1 HTML tag?

The H1 tag is used to display Headings in HTML. <H1> Hi this is a H1 header </H1> would display like = Hi this is a H1 header =


What are the characteristics of the hl in HTML tag?

<h1> is the tag which defines the size of heading in HTML. H1 denotes the biggest and H6 is the smallest.


How do you add an H2 heading?

Use the <h1> tag. E.G. <h1>This is in a big heading</h1>


What is the use of h1 tag in an HTML document?

It's used for heading, h1 stands for heading 1.


What is h1 in HTML stand for?

H1 is a heading tag in HTML and is the most important heading tag. In a single HTML document there should only be one H1 heading tag. There are a total of six heading tags in HTML, h1, h2, h3, h4, h5, and h6. H1 is the most important and h6 is the least important. These are useful at organizing your content on a web page.


What is the tag for inserting a heading?

A heading tag is a tag that defines a heading (duh). Different heading tags change the text size/weight. For example, header one could be <h1>HEADER 1</h1> And turn out like this: There are 6 different headers I believe <h1><h2><h3><h4><h5> and <h6>


How do HTML headers work?

= = = = = hello = == hello HTML tags must be within the "<" and ">" symbols.the largest heading would be: h1 inside these symbols ("<" and ">") for an opening tag, the text you wish to format would then follow, and the closing tag /h1 within these symbols ("<" and ">") would end the tag. Heading size decreases as the number within the tag increases, with h1 being largest and h7 being smallest


What is the exact answer of heading?

Heading can be put in a HTML page via the <head> tag. The size can be varied by H1 to H6 tag.


How do you change your main title font on Freewebs using CSS?

If your main title tag is <h1> u could try this. Put this within your <head> tag <style type="text/css"> h1 { font-family:"Kirsten ITC","Secondary Font"; font-size: How big you want your font to be; font-weight: For normal font "normal", For bolded font "bold"; } </style> For the <h1> tag, you could give it a "class" or "id" then instead of "h1 {" type ".(class name) {" for classes or "#(id name) {"for id's. Remember to remove the brackets and write the name class/id name properly. It is case Sensitive!!!


Which HTML tag creates the largest heading on a webpage?

<h1>...</h1> Kinda. The specification does not stipulate that this heading is to be any larger or smaller than any of the other headings. But the browsers default to making this on the largest of the 6.


What The correct HTML tag for the smallest size heading?

A number of tags only have one letter, like <b> or <i> or <p> or <u>.


What is a style tag?

A style tag can be used in a page to define an internal style sheet. You usually put it in the head area and define styles you want to be used in the page. So you start with the style tag, put all your style definitions between it and the closing style tag. The below code creates styles for the p and h1 tags.p {color:gold; font-size:14pt;}h1 (color:red}