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.
- Sellercore answered 9 years ago
- last edited 9 years ago
- You must login to post comments
Please login first to submit.