Empty HTML Elements HTML elements with no content are called empty elements. is an empty element without a closing tag (the tag defines a line break). Empty elements can be "closed" in the opening tag like this: . HTML Attributes • All HTML elements can have attributes • Attributes provide additional information about an element • Attributes are always specified in the start tag • Attributes usually come in name/value pairs like: name="value" The lang Attribute The language of the document can be declared in the
tag. The language is declared with the lang attribute. Declaring a language is important for accessibility applications (screen readers) and search engines:
Total : 20697
Today :28
Today Visit Country :