answersLogoWhite

0

You can change the alignment of contents in a web page using many options.

1. Tags like <PRE> that helps you display pre-formatted text. The contents within the <PRE> and </PRE> tags are displayed on the web page by the browser without any modifications to the format the contents are arranged within them

2. You can use Cascading Style Sheets - CSS to organize the contents of your web page.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What element is modified to change the background color or alignment of a web page?

To change the background color or alignment of a web page, the CSS (Cascading Style Sheets) properties associated with the &lt;body&gt; element or specific container elements are modified. The background-color property adjusts the page's background color, while properties like text-align or margin can change text alignment and overall layout. These modifications can be applied directly in a stylesheet or inline within HTML tags.


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 &gt; Slice &gt; Make. Slice is made, then choose Object &gt; Slice &gt; Slce Options &gt; 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 innerHTML in javascript?

innerHTML is often used in javasript to change the value already present in html tags. For eg The following code will change the text on button click &lt;html&gt; &lt;head&gt; &lt;script type="text/javascript"&gt; function changeText() { document.getElementById("changeText").innerHTML = "I am fine thank you. How about you?" } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="changeText"&gt; Hello! How are you? &lt;/div&gt; &lt;input type="button" value="Change Text" id="button_1" onclick="changeText()" /&gt; &lt;/body&gt; &lt;/html&gt;


How do you add scrolling text to HTML page?

I love using this code: &lt;marquee&gt;Enter scrolling text here&lt;/marquee&gt; Put this code underneath the &lt;body&gt; tag: &lt;html&gt; &lt;body&gt; &lt;marquee&gt;Enter scrolling text here&lt;/marquee&gt; &lt;/body&gt; &lt;/html&gt; Want to change the colour of the text? &lt;font face="arial" color="colour you want" size="8"&gt; place that between &lt;body&gt; and &lt;Marquee&gt; &lt;html&gt; &lt;body&gt; &lt;font face="arial" color="colour you want" size="8"&gt; &lt;marquee&gt;Enter scrolling text here&lt;/marquee&gt; &lt;/body&gt; &lt;/html&gt;


Can you tell language is used to create webpages along with text?

HTML is the standard language for creating web pages. You can include text in web page using HTML and CSS can be used to format the text. Here is an example of the simplest HTML: &lt;html&gt; &lt;head&gt;&lt;/head&gt; &lt;body&gt; Your text goes here... &lt;/body&gt; &lt;/html&gt; Put the above in a file and save it with an extension htm or html. Now you have a web page with the text you want.


What does div mean?

A div tag in HTML represents a division, usually with its own style, class, or alignment. For example, the HTML &lt;div align=center&gt;Text&lt;/center&gt; would align the text in the center of the page


What code would you use to design a webpage with white text?

&lt;html&gt; &lt;head&gt; &lt;title&gt;website&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;body style="color:white;"&gt; &lt;!--note the style tag is in CSS - this is the Proper way to change text color as defined by HTML 5 standards--&gt; &lt;h1&gt;my website&lt;/h1&gt; &lt;/body&gt; &lt;/html&gt; Note: see related links for more information about CSS styling.


Which icon would you use to change text to italic?

html


Would changing the margins of your document change the alignment of the text?

It will narrow or widen the page or lengthen or shorten the page, which could affect how the text is positioned, but won't change the alignment style.


The browser will display any text or images defined in which section of the HTML file?

In the body of the HTML file.


How can create webpage?

First you have to start with the basic layout of a webpage: from this you can do most things such as change the background colour or add text to the webpage. &lt;html&gt; &lt;body bgcolor="blue"&gt; &lt;font face="Arial" color="white" size="8"&gt; &lt;p&gt;This is a piece of example text&lt;/P&gt;&lt;/font&gt; &lt;/body&gt; &lt;/html&gt;


Which button do you use to change the alignment of text in a cell?

To change the alignment of text in a cell, you typically use the &quot;Align&quot; buttons found in the formatting toolbar of spreadsheet applications like Microsoft Excel or Google Sheets. These buttons usually include options for left, center, and right alignment, as well as vertical alignment options. You can select the desired cell and then click the appropriate alignment button to adjust the text alignment accordingly.