Introduction to HTML PDF
Document Details
Uploaded by IndividualizedBlueLaceAgate4709
Universidad Católica del Maule
Tags
Summary
This document provides an introduction to HTML, a markup language used to structure content on web pages. It explains basic HTML concepts, including tags, elements, and lists.
Full Transcript
Introduction to HTML Introduction to HTML ▪ HTML is the most familiar markup language used to develop the content of web pages. ▪ HTML uses markup tags to describe web pages. ▪ HTML tag names are keywords surrounded by angle brackets: content...
Introduction to HTML Introduction to HTML ▪ HTML is the most familiar markup language used to develop the content of web pages. ▪ HTML uses markup tags to describe web pages. ▪ HTML tag names are keywords surrounded by angle brackets: content Closing tag Opening Closing tag Opening tag tag It is recommended to use lowercase in all elements since required for XHTML documents. Declaration An XHTML document must have an XHTML DOCTYPE declaration. The declaration must be the very first thing in your HTML document, before the tag. Declaration The declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in. The declaration for HTML 5 is: The declaration is not case sensitive. The Element in HTML The element allows you to group several elements together to create sections or subsections of a page. Commonly used with CSS to allow you to attach a style to a section of a page. It uses id or class or both id and class to give names to the generic div elements. The Element in ……. Lists in HTML ❖Most common list types used in HTML are: ▪ Unordered lists (ul): which are like lists of bullet points. specification of list items ▪ Ordered lists (ol): which use a sequence of numbers or letters instead of bullet points. specification of list items ❖Use to specify list items in either unordered or ordered lists.