HTML element

« Back to Glossary Index

HTML Elements and Structure
HTML elements are components of HTML documents.
HTML elements can add semantics and formatting to parts of a document.
– Elements can have attributes specified.
– Elements can have content, including other elements and text.
HTML documents are composed of a tree of HTML nodes.
– Most HTML elements are written with a start tag and an end tag.
– Some elements, called void elements, do not have an end tag.
– Void elements have predefined behavior and cannot contain content or other elements.
– XHTML requires opening and closing all elements, including void elements.
– An alternative way to specify a void element is to use a self-closing tag.
– The root element of an HTML document is the HTML element.
– The HTML element delimits the beginning and end of an HTML document.
– The head element contains metadata about the document.
– The body element contains the visible content of the document.
– The title element specifies the title of the document.

Elements vs. Tags and SGML vs. XML
– The position of an element is indicated by start and end tags.
– The distinction between elements and tags is emphasized in HTML specifications.
– Certain tags can be omitted, but the element is still present.
HTML parsing depends on the Document Type Definition (DTD).
– The DTD specifies the valid combinations of elements in a document.
– SGML is complex, while XML is a simpler alternative.
XML parsing is simpler than SGML parsing.
HTML on the web is often treated as XML (XHTML) or HTML5.
Parsing document tags into DOM elements is simplified in XML and HTML5.

CSS and Block Elements
CSS defines block elements with the ‘display: block;’ declaration.
HTML has %block; and %inline; groups for block-level and inline elements.
– Block-level elements cannot be placed into an inline context.
– Block and inline elements have different CSS behaviors by default.
CSS behavior can be changed from the default for specific elements.
– Block elements have a rectangular structure and can span the entire width of their parent element.
– Block elements have content, padding, border, and margin, forming the box model.

HTML Element Standards and Status
HTML elements are defined in a series of open standards issued since 1995.
– User agents often developed their own elements during the browser wars of the 1990s.
XML introduced mechanisms to allow anyone to develop their own elements and incorporate them in XHTML documents.
HTML 4.01 was rewritten in an XML-compatible form called XHTML 1.0.
– XHTML 1.0 documents are valid or nearly valid HTML 4.01 documents.
– Several elements have become deprecated or invalid in later standards.
HTML 4.01 / XHTML 1.0 introduced three types of DTD: Transitional, Frameset, and Strict.
– HTML5 provides a listing of obsolete features, both conforming and non-conforming.
– The frame elements are highly problematic for user accessibility.
– XHTML 1.1 does not include frames at all.

Additional HTML Elements
HTML elements can be written in any combination of upper or lower case, but must be in lower case in XHTML.
– There are three kinds of HTML elements: normal elements, raw text elements, and void elements.
– Void elements only have a start tag and may not contain any children.
– Boolean attributes do not require a value to be specified.
HTML allows replacement content for non-visual user agents and can be extended through scripts.
– The document head elements include base, basefont (deprecated), isindex (deprecated), link, and meta.
– The document body elements include block elements, inline elements, basic text elements, lists, and images.
– The basic text elements include p element for paragraphs and h1-h6 elements for section headings.
– The list elements include dl for description lists, ul for unordered lists, and ol for ordered lists.
– The definition list elements include dt and dd.
– Other block elements include address, article, aside, blockquote, and div.
– Additional block elements include figure, figcaption, footer, header, and hr.

HTML element (Wikipedia)

An HTML element is a type of HTML (HyperText Markup Language) document component, one of several types of HTML nodes (there are also text nodes, comment nodes and others).[vague] The first used version of HTML was written by Tim Berners-Lee in 1993 and there have since been many versions of HTML. The current de facto standard is governed by the industry group WHATWG and is known as the HTML Living Standard.

An HTML document is composed of a tree of simple HTML nodes, such as text nodes, and HTML elements, which add semantics and formatting to parts of document (e.g., make text bold, organize it into paragraphs, lists and tables, or embed hyperlinks and images). Each element can have HTML attributes specified. Elements can also have content, including other elements and text.

« Back to Glossary Index

Submit your RFP

We can't wait to read about your project. Use the form below to submit your RFP!

Gabrielle Buff
Gabrielle Buff

Just left us a 5 star review

Great customer service and was able to walk us through the various options available to us in a way that made sense. Would definitely recommend!

Stoute Web Solutions has been a valuable resource for our business. Their attention to detail, expertise, and willingness to help at a moment's notice make them an essential support system for us.

Paul and the team are very professional, courteous, and efficient. They always respond immediately even to my minute concerns. Also, their SEO consultation is superb. These are good people!

Paul Stoute & his team are top notch! You will not find a more honest, hard working group whose focus is the success of your business. If you’re ready to work with the best to create the best for your business, go Stoute Web Solutions; you’ll definitely be glad you did!

Wonderful people that understand our needs and make it happen!

Paul is the absolute best! Always there with solutions in high pressure situations. A steady hand; always there when needed; I would recommend Paul to anyone!

facebook
Vince Fogliani
recommends

The team over at Stoute web solutions set my business up with a fantastic new website, could not be happier

facebook
Steve Sacre
recommends

If You are looking for Website design & creativity look no further. Paul & his team are the epitome of excellence.Don't take my word just refer to my website "stevestours.net"that Stoute Web Solutions created.This should convince anyone that You have finally found Your perfect fit

facebook
Jamie Hill
recommends

Paul and the team at Stoute Web are amazing. They are super fast to answer questions. Super easy to work with, and knows their stuff. 10,000 stars.

Paul and the team from Stoute Web solutions are awesome to work with. They're super intuitive on what best suits your needs and the end product is even better. We will be using them exclusively for our web design and hosting.

facebook
Dean Eardley
recommends

Beautifully functional websites from professional, knowledgeable team.

Along with hosting most of my url's Paul's business has helped me with website development, graphic design and even a really cool back end database app! I highly recommend him as your 360 solution to making your business more visible in today's social media driven marketplace.

I hate dealing with domain/site hosts. After terrible service for over a decade from Dreamhost, I was desperate to find a new one. I was lucky enough to win...

Paul Stoute has been extremely helpful in helping me choose the best package to suite my needs. Any time I had a technical issue he was there to help me through it. Superb customer service at a great value. I would recommend his services to anyone that wants a hassle free and quality experience for their website needs.

Paul is the BEST! I am a current customer and happy to say he has never let me down. Always responds quickly and if he cant fix the issue right away, if available, he provides you a temporary work around while researching the correct fix! Thanks for being an honest and great company!!

Paul Stoute is absolutely wonderful. Paul always responds to my calls and emails right away. He is truly the backbone of my business. From my fantastic website to popping right up on Google when people search for me and designing my business cards, Paul has been there every step of the way. I would recommend this company to anyone.

I can't say enough great things about Green Tie Hosting. Paul was wonderful in helping me get my website up and running quickly. I have stayed with Green...