Designed for eBay Sellers, Sellercore offers custom eBay auction template editing, free eBay listing templates, online eBay picture & image hosting, eBay seller help, and more!

What is an HTML element and attribute?

Answered
0
0

What is an HTML element and attribute?

  • You must to post comments
Best Answer
0
0

Just to touch on this to understand further references, an HTML element is a component of an HTML document that styles and structures the document. Anything more than default single spaced black text needs to be marked up with HTML elements for the internet browser to understand how your document is meant to be displayed.

In the HTML syntax (code), most elements are written with a start tag and an end tag, with the content in between. An HTML tag is composed of the name of the element, surrounded by angle brackets “<span>…</span>”. An end tag also has a slash after the opening angle bracket, to distinguish it from the start tag.

HTML attributes are specified inside the start tag. For example, to add color to text you can add the “style” attribute to the span element and the attribute value:

<span style="color:red;">Some red text</span>

Some red text

 
Some elements do not require attributes and may be represented with a short name or letter. For example, the underline element is represented simple with:

<u>Some underlined text</u>

Some underlined text

 

The Sellercore editor will code and edit these elements for you, this explanation is only to help you better understand some of the tools the editor offers.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.