answersLogoWhite

0

The CENTER tag in HTML is used to center blocks of code within an HTML document. The tag is very easy to use as you only have to open it and close it around the text you want centered. This can be 2 lines of text or an entire webpage. See the example below.

<center> Smasher is teaching me HTML </center>

This would take the text and center it on the screen. If you want to center the whole page simply put the open tag at the beginning of the document and the close tag at the end.

User Avatar

Wiki User

∙ 17y ago
User Avatar

What else can I help you with?

Related Questions

Can you centrally align the heading of the HTML document you created?

When you create an HTML document, you can include a heading on the page. Here is an example of how you can use HTML to center the heading: &lt;center&gt;&lt;h1&gt;Page Heading&lt;/h1&gt;&lt;/center&gt;.


What is the HTML code for creating a level 4 heading that displays the text Heading 4?

&lt;h4&gt;Heading 4&lt;/h4&gt;


What is the HTML code for Heading 3?

&lt;h3&gt;Heading Text&lt;/h3&gt; There are six headings in HTML. They start with &lt;h1&gt; and end with &lt;h6&gt;. They all follow the patter &lt;h#&gt;Text&lt;/h#&gt;


What is the HTML code for creating a heading?

&lt;h1&gt; This is a heading!! &lt;/hl&gt; also &lt;h2&gt; This is a heading!! &lt;/h2&gt; &lt;h3&gt; This is a heading!! &lt;/h3&gt; &lt;h4&gt; This is a heading!! &lt;/h4&gt; It goes up to eight. The larger the number the smaller text size.


What does h1 in HTML stand for?

Heading 1 For example, this would mean that HOME is the first heading in HTML. &lt;html&gt; &lt;body&gt; &lt;h1&gt; HOME &lt;/h1&gt; &lt;/body&gt; &lt;/html&gt;


What does h2 stand for in HTML?

in HTML &lt;h2&gt; stands for heading 2


Different heading levels of an HTML document?

&lt;html&gt; &lt;head&gt; &lt;title&gt; &lt;body&gt;


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

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


How many heading sizes does HTML support?

It supports 6 heading sizes using the &lt;h1&gt; to &lt;h6&gt; tags. The &lt;h1&gt; is the largest heading.


What is h1 as it relates to HTML codes?

h1 is header1 it is used to give heading,there h1 to h6 in html


How do you write the HTML code for full name?

To write HTML code for a full name, you can use a simple structure with appropriate HTML tags. For example: &lt;!DOCTYPE html&gt; &lt;html lang=&quot;en&quot;&gt; &lt;head&gt; &lt;meta charset=&quot;UTF-8&quot;&gt; &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt; &lt;title&gt;Full Name&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;h1&gt;John Doe&lt;/h1&gt; &lt;/body&gt; &lt;/html&gt; In this code, the full name &quot;John Doe&quot; is placed within an &lt;h1&gt; tag to display it as a heading.


What Is The Code To Show An Html A Text?

&lt;code&gt;&lt;code&gt;HTML TEXT HERE&lt;/code&gt;&lt;/code&gt;