![]() ![]() White space is ignored by web browsers.Even when coding in HTML, you should get in the habit of writing tags in lower case. Tags in HTML are not case sensitive, but in XHTML all tags must be in lower case.HTML does not have this same requirement, but it's a good habit to get into in case you ever need to code in XHTML. For example, the tag for a line break is. XHTML is more strict than HTML, and requires that all open tags must be closed, even if they're not container tags. ![]() A few tags are called non-container tags, because they don't contain any content - they stand alone.For example, to markup a section of text as a paragraph, you would open the paragraph with an opening paragraph tag and close it with a closing paragraph tag (closing tags always proceed the element with a /). An opening tag begins a section of page content, and a closing tag ends it. An element is an object on a page (such as a heading, paragraph, or image), and attributes are qualities that describe that element (such as width and height). Tags are comprised of elements and attributes.Tags are always enclosed in angle brackets."Tags" provide web browsers with instructions about the web page, such as where to display images, and how the document is structured.You can view or edit the source code using any text editor. The following are some facts about HTML tags (plus a few facts about XHTML tags too): ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |