Below is the sample html page:-
<!DOCTYPE html>
Page Title
This is a Heading
This is a paragraph.
HTML elements are the building blocks of HTML pages. With HTML constructs, images and other objects such as interactive forms may be embedded into the rendered page. HTML provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets. Tags such as and directly introduce content into the page. Other tags such as
surround and provide information about document text and may include other tags as sub-elements. Browsers do not display the HTML tags, but use them to interpret the content of the page
HTML can embed programs written in a scripting language such as JavaScript, which affects the behavior and content of web pages. Inclusion of CSS defines the look and layout of content. The World Wide Web Consortium (W3C), former maintainer of the HTML and current maintainer of the CSS standards, has encouraged the use of CSS over explicit presentational HTML since 1997.
The first publicly available description of HTML was a document called "HTML Tags", first mentioned on the Internet by Tim Berners-Lee in late 1991. It describes 18 elements comprising the initial, relatively simple design of HTML. Except for the hyperlink tag, these were strongly influenced by SGMLguid, an in-house Standard Generalized Markup Language (SGML)-based documentation format at CERN. Eleven of these elements still exist in HTML 4.
Some of the important tags:
Tag Description Defines a paragraph
<!--...--> Defines a comment
<!DOCTYPE> Defines the document type
Defines a hyperlink
Defines an abbreviation or an acronym
Not supported in HTML5. Use instead.
Defines an acronym
Defines contact information for the author/owner of a document
Not supported in HTML5. Use or instead.
Defines an embedded applet
Defines an area inside an image map
Defines an article
Defines content aside from the page content
Defines embedded sound content
Defines bold text
Specifies the base URL/target for all relative URLs in a document
Not supported in HTML5. Use CSS instead.
Specifies a default color, size, and font for all text in a document
Isolates a part of text that might be formatted in a different direction from other text outside it
Overrides the current text direction
Not supported in HTML5. Use CSS instead.
Defines big text
Defines a section that is quoted from another source
Defines the document's body
Defines a single line break
Defines a clickable button
Used to draw graphics, on the fly, via scripting (usually JavaScript)
Defines a table caption
Defines centered text
Defines the title of a work
Defines a piece of computer code
Adds a machine-readable translation of a given content
Specifies a list of pre-defined options for input controls
Defines text that has been deleted from a document
Defines additional details that the user can view or hide
Specifies a term that is going to be defined within the content
Defines a dialog box or window
Not supported in HTML5. Use instead.
Defines a directory list
Defines a section in a document
Defines a description list
Defines emphasized text
Defines a container for an external application
Groups related elements in a form
Specifies self-contained content
Not supported in HTML5. Use CSS instead.
Defines font, color, and size for text
Defines a footer for a document or section
Defines an HTML form for user input
Not supported in HTML5.
Defines a window (a frame) in a frameset
Not supported in HTML5.
Defines a set of frames
to
Defines HTML headings
Contains metadata/information for the document
Defines a header for a document or section
Defines a thematic change in the content
Defines the root of an HTML document
Defines a part of text in an alternate voice or mood
Defines an inline frame
Defines an image
Defines an input control
Defines a text that has been inserted into a document
Defines keyboard input
Defines a label for an element
Defines a caption for a element
Defines metadata about an HTML document
Defines a scalar measurement within a known range (a gauge)
Defines navigation links
Not supported in HTML5.
Defines an alternate content for users that do not support frames
Defines an alternate content for users that do not support client-side scripts
Defines a container for an external application
Defines an ordered list
Defines a group of related options in a drop-down list
Defines an option in a drop-down list
Defines the result of a calculation
Defines a parameter for an object
Defines a container for multiple image resources
Defines preformatted text
Represents the progress of a task
Defines a short quotation
Top comments (0)