answersLogoWhite

0


Best Answer

You could set the background in an upper class and then define the text in the lower class.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How could you put a text in a fake background in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you write the CSS and HTML code for an embedded style sheet that configures a background color of?

<style type="text/css" media=screen> body{ background-color: gray;} </style>


What is the semantic difference between HTML tag and HTML text?

HTML text is formatted text that you view on a HTML formatted page, a HTML tag is a tag which defines the formatting of a selected area of text, i.e opening tag "<u>" "text to format here", followed by closing tag "</u>" would underline the text that you wish to format. In short, HTML tag defines the format of the text. These basics can be applied to a range of different functions.


What Is The Code To Show An Html A Text?

<code><code>HTML TEXT HERE</code></code>


How do you convert the HTML file in to text file?

All HTML files are text files. You can open them with any text editor, such as Notepad. When a browser opens the file, it reads it and displays the html as a web page. If you open a html file in a text editor or a word processor or other such application, you will see the actual html code, which is just ordinary text. So you don't need to convert HTML files into text, as they are already text files. All you need is something to open them with, other than a browser.


What is Class in HTML?

Class refers to your style sheet (Cascading Style Sheets), or the style part of your HTML document. For example, if your document was this... <style> .text { font-family: Arial } </style> then in your body tag... <div CLASS="text">Hello</div> Hello will be in Arial text font type. It refers to your style, whether it be a font type, colour, background, etc.

Related questions

How do you make a background on stardoll presentation without word or firefox?

Any Web Browser is available for your Presentation. Not using Firefox just limits you of Flashing Text and some Multiple Borders.You are able to use HTML Codes (preferred) or different coding for your background and multiple effects. Plus, you can drag Backgrounds from different users on Stardoll, which I suggest you to create your own preferred background. I include you the HTML Code for Backgrounds with Text Alignment, Font, Font Size, Font Color and Text Shadow included. For different colors you can use to modify your background code I included 'Computer Hope: HTML Color Codes and Names.'Background Code:Background HTML CodeIf you just want the background code you can just use:Background HTML CodeYou edit the color of the Background, deleting "8B0000" for "red" or other colors listed on the page I included before. You write on the "Background HTML Code" with other text of your choice. If you need more information about HTML Codes you can contact me on my Message Board.Answered by Megajessica225 add me :) and heart my yb


How do you change the background of text in an HTML document without affecting what's behind the margin?

<p style="background-image: image.img"> Replace image.img with your image.


How do you create a HTML text slice in Adobe Illustrator?

; HTML Text ; ; This type is available only when you created the slice by selecting a text object and choosing Object > Slice > Make. Slice is made, then choose Object > Slice > Slce Options > HTML Text. The Illustrator text is converted to HTML text with basic formatting attributes in the resulting web page. To edit the text, update the text in your artwork. Set the Horiz and Vert options to change the alignment of text in the table cell. You can also select a background color for the table cell.


What is better HTML or text?

Of course, it's HTML! HTML can do anythink that text can do plus more! Can text make a radio buttin? Can text make a drop-down menu? No, and again no! HTML Text


How do you get texting on the iPod?

you cant text on the ipod, but there are many apps were you could fake-getting a text.


How do you write the CSS and HTML code for an embedded style sheet that configures a background color of?

<style type="text/css" media=screen> body{ background-color: gray;} </style>


What is the code for a text stroke and fill color for a CSS page?

Text stroke is HTML and is " " Fill color is "background-color" defined in the stylesheet, head or inline for the element in question.


How do you get a pink background for an HTML file?

You should use a style sheet to do this. In between the <head> and </head> tags, place the following: <style type="text/css"> <!-- body {background-color:pink;} //--> </style>


How do you rotate text in HTML?

Text can only be rotated in HTML by augmenting it with CSS or other technologies. HTML itself is not capable of this feat.


What is the semantic difference between HTML tag and HTML text?

HTML text is formatted text that you view on a HTML formatted page, a HTML tag is a tag which defines the formatting of a selected area of text, i.e opening tag "<u>" "text to format here", followed by closing tag "</u>" would underline the text that you wish to format. In short, HTML tag defines the format of the text. These basics can be applied to a range of different functions.


What Is The Code To Show An Html A Text?

<code><code>HTML TEXT HERE</code></code>


How do you change the background colour the text is written on on a wordpress blog I have changed the background of the surrounding parts of the blog but cant change colour behind text?

Use some HTML and put your text between <div> </div> My text bellow will appear in a yellow box 1 px by 10 px. You do not have to set the dimensions but I find it better to do so <div style="background-color:yellow;border:1px solid black;padding:10px;"> <p> Remember that HTML background code is limited and does not work on all browsers. But on the other hand, CSS background code is much better and can be viewed on most browsers! </p> </div> or you can use <i><b>YELLOW</b></i> will give you italics and bold