answersLogoWhite

0

What is a style tag?

User Avatar

Anonymous

12y ago
Updated: 8/19/2019

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.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How can you update the style associated with text you have modified?

You can always add the style to the text you modified. The style tag can be used with any independent tag.


What type of style sheet uses the style tag?

CSS (Cascading style sheet)


How does applying CSS to an HTML document?

It can be done using the <style> tag. There are many ways to do it. The easiest one is- <p style="color:red">This is a paragraph.</p> IE add style to the tag.


C why would you want to use the link tag instead of the style tag to define a style sheet?

<link href="css/style.css" rel="stylesheet" type="text/css" /> The link tag refers to an external stylesheet while the style tag is used if your CSS is inside the HTML document under the <head>.


What style attribute will change the size of the font of a tag?

style="font-size:10px"


Which type of style sheet is placed directly on the HTML tag?

an inline style sheet is directly placed inside of an HTML document using the <style></style> tags, but CSS styles can be placed on almost any HTML tag. To specify an HTML tag in your selector, just write out the tag without a leading qualifier (. for class, # for id) so you would have something like span{ //css rules here }


What tag do you use to embolden text?

You could use <b> i.e. bold tag but it is depreciated. Now you use the tag of style and font-thickness.


What does a div tag do when using Dreamweaver CS3 xhtml and CSS?

The division tag is a "div" and is used to divide a page into sections. A div tag can be used to style a section, and style one or more sections differently than other sections.


What is the HTML tag used to define an internal style sheet?

If you are looking to use an internal style sheet, you are going to need to use the <style> tag. This tag has both an opening and a closing tag and in between the two tags is where you list all of the CSS rules and declarations that you are wanting to include. Internal style sheets are used when the rules you are creating are only needed on the page that you are adding the rules to. If you plan on using the rules on multiple pages, it would be better to use an external style sheet and embed the style sheet on each of the pages. An example of an internal style sheet would look like: <style type="text/css" media="all"> body { background-color: #FFFFFF; } p { text-color: #000000; text-weight: normal; } </style>


What are HTML style tags?

HTML style tag is used to define CSS in HTML. It is used to style the page according to the user demans.


What HTML tag is used to define an internal style sheet?

The internal stylesheet is added at the beginning of the document, in the HEAD section of an HTML page. <style type="text/css"> .style {font-weight:bold}: </style> If you want to use inline styles, then use the style attribute: <p style="font-size:24px;">Blah blah blah</p>


What style attribute will change the color of the text of a tag?

The attribute color :)