answersLogoWhite

0


HTMLCreate an unordered list UL tag inside a DIV tag with an id of navBar in the HTML page!




CSSInside of the CSS create a ID block called #navBar
#navBar ul li {
display: inline;
padding-right: 5px;

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

What is a custom CSS?

All CSS is custom, that is the purpose behind CSS. It allows you to control the presentation of your web pages and separate the rules that govern presentation from the content and markup. You control what rules you develop and set the rules for. CSS stands for cascading style sheets.


How do you color the area between margins using HTML or CSS?

You can set the color of margin in CSS. The attribute margin-color is what sets it.


What are difference css 2.0 and css 3.0?

CSS 3 contains the old CSS specifications and new modules has been added.Example of new modules:Background and border stylesBoxText effectsTransformationsAnimationsSelectors


When defining sets of quotation marks to put around text which property use in css?

In CSS, to define sets of quotation marks around text, you can use the quotes property. This property specifies the type of quotation marks to use for the content property in pseudo-elements like ::before and ::after. For example, you can set it to quotes: "“" "”" "‘" "’"; for curly quotes.


How do you convert css codes?

You can't convert a HTML into CSS in the same way you can convert, say a .wmv file to a .mpg file. CSS is a way to style HTML items but doesn't use the same language as HTML. There may be software solutions that may be able to extract the styling instructions written in HTML and convert the language into CSS but failing that you'll have to rewrite the HTML styling into CSS manually. Whilst you can have CSS and HTML in the same .html document generally the CSS will be the styling and the HTML will be the content. I say 'generally' because it is possible to add 'content' using CSS and to still style using HTML within the same document.

Related Questions

What is a custom CSS?

All CSS is custom, that is the purpose behind CSS. It allows you to control the presentation of your web pages and separate the rules that govern presentation from the content and markup. You control what rules you develop and set the rules for. CSS stands for cascading style sheets.


How do you set margins without CSS in HTML?

HTML does not have a built-in way to set margins without CSS. Margins are a property of Cascading Style Sheets (CSS), not of HTML. To set margins in HTML, you need to use CSS either directly in a “style” attribute of an HTML element, or by using an external CSS file linked to your HTML document.


What is the value of css?

There is no predefined value of CSS anywhere. You can set it's attributes the way you want.


Can you give me the CSS code to a table that has a fixed height and width but scrolls vertically to view text?

you can place that table inside a container <div>, likely shorter than the table itself, then set the overflow of that <div> to either auto or scroll. Most browsers will default to scroll when auto is selected. What this does is tell the browser to create a scroll bar in the div for any content that extends below the height of the container. Because it is creating a scroll bar inside the div make sure you have room on the right side of the container to allow the bar to appear without blocking content. For example, in your CSS document: div.tablecontainer { height:500px; overflow:scroll; padding-right:20px; } table { height:1000px; width:80%; }


How do you color the area between margins using HTML or CSS?

You can set the color of margin in CSS. The attribute margin-color is what sets it.


What are difference css 2.0 and css 3.0?

CSS 3 contains the old CSS specifications and new modules has been added.Example of new modules:Background and border stylesBoxText effectsTransformationsAnimationsSelectors


When you set your rules in CSS from a sheet what sheet can control several webpages?

Any. It is merely a matter of linking it in the Head element. I have too often seen many of them that do only 10% of the content or less.


How do you set HTML side by side?

CSS works alongside HTML for complete functionality. A CSS can be embedded in HTML also.


Different properties of HTML that were changed by CSS?

CSS stands for Cascading Style Sheets. CSS is a convenient way of setting the look and feel of the HTML & Form components on screen in a uniform way. All the form components have a property called "Style" in which we can assign the name of the CSS style that we need to use. All we need to do is, create the CSS style in a CSS file and use the name in all the required form components and all those components would have the properties set in the CSS. Some properties that can be set in the CSS are: * Font size * Font color * Background color * Borders * etc...


When defining sets of quotation marks to put around text which property use in css?

In CSS, to define sets of quotation marks around text, you can use the quotes property. This property specifies the type of quotation marks to use for the content property in pseudo-elements like ::before and ::after. For example, you can set it to quotes: "“" "”" "‘" "’"; for curly quotes.


How do you convert css codes?

You can't convert a HTML into CSS in the same way you can convert, say a .wmv file to a .mpg file. CSS is a way to style HTML items but doesn't use the same language as HTML. There may be software solutions that may be able to extract the styling instructions written in HTML and convert the language into CSS but failing that you'll have to rewrite the HTML styling into CSS manually. Whilst you can have CSS and HTML in the same .html document generally the CSS will be the styling and the HTML will be the content. I say 'generally' because it is possible to add 'content' using CSS and to still style using HTML within the same document.


How can you center the page vertically?

To center a page vertically using CSS, you can use the Flexbox layout model. Set the container's display property to flex and apply align-items: center; and justify-content: center; to center the content both vertically and horizontally. Alternatively, you can use CSS Grid by setting the container to display: grid; and applying place-items: center;. For a more traditional approach, you can use absolute positioning with top: 50%; and transform: translateY(-50%);.