answersLogoWhite

0

What is an example of HTML?

Updated: 8/10/2023
User Avatar

Wiki User

12y ago

Best Answer

Attribute refers to the properties of the HTML elements.

For example the element <IMG> is used to display images in a HTML page. This tag has certain attributes like height, width, src etc which specify the properties of the element.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

A simple example of HTML would be

<Html>

<head>

<title>A simple example of Html</title>

</head>

<body>

Google Logo: </br>

<img src="http://www.Google.com/logosLogo_40wht.gif" alt="Google Logo">

</body>

<HTML>

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

HTML is made up of three main things: tags, attributes, and innerHTML. Tags define various things in a web page, such as headings, paragraphs, and images. Between a tag (such as <p>) and an end tag (</p>) comes innerHTML, which, in the case of a paragraph, is the text that shows up on the actual page. Attributes modify tags. In the case of a paragraph (<p>), the style attribute can format the text. Attributes are not required in any tags, but they enhance your content greatly. Some tags, such as <img> (image), do nothing without attributes.

The format for a complete tag is something like this:

<tag attribute="value">innerHTML</tag>

There can be several attributes in a tag.

For a simpler explanation, attributes work in HTML like adjectives work in sentences. The whole can function without them, but using them greatly benefits the whole.

This answer is:
User Avatar

User Avatar

Wiki User

6y ago

The "class" attribute is one of 7 standard attributes that is valid on almost any X/HTML element. It takes a value that is a string, is used by CSS and Javascript, and looks like this:

<p class="exampleParagraph">Hi!</p>

As you can see, the attribute is a name/value pair. The name here is class and the value is exampleParagraph. All attributes will follow this format:

name = "value"

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

HTML means HyperText Markup Language

The following is a valid HTML page:

Hello World!

Hello World!

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

Various attributes are there in tags defined. Some famous attributes are Align, Style etc for the styling.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

There are various elements in an HTML page. These elements could be the different tags placed.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is an example of HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the fundamental unit of HTML syntax?

the &lt;&gt; brackets, for example to begin an HTML document you begin with the tag &lt;html&gt;


Is Html an example of an HTML program?

HTML is not a program it is a langue your computer speaks with the browser to create arguments and display data


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;


Create a HTML page to display the information of student details?

student details example by html


What are the tags in HTML surronded by?

HTML tags are put between &lt;&gt;. Example: &lt;FONT size="2"&gt;


How do you publish a webpage made of HTML codes?

it is very simple only you have to do is after writing html codes save the file with the extension .html example=web.html


How do you use border in HTML?

Border can be an attribute in html. For example, in the table tag. This will put a border around the table.As another example, it can be used in the img tag.


What are the HTML codes for effects?

You can use for bold, for example, but it is recommended that you use CSS adding styles and formatting to your HTML.


HTML contains 2 tags what are they?

HTML contains many more than 2 tags. Most tags come in a set of 1 opening and 1 closing tag. For example, &lt;html&gt; and &lt;/html&gt;.


What are HTML translators?

That depends, it may be HTML script "translated" into normal text, as BBCode where you can make bold text, and it can be HTML which is translated into for example PHP with echo tags.


Why use HTML codes?

You use HTML codes to tell the browser how to display your content. For example, if you want to display THIS in bold, you would send the following HTML code to the browser: THIS .


What is the expansion for HREF code?

HTML- HyperTextMarkup Language..... HTML is used for creating web pages for example...