04 HTML Version
04 HTML Version
HTML
• Hypertext Markup Language (HTML) is a World Wide
Web Consortium (W3C) standardized system for
tagging text files to have font, color, graphic, and links
to other World Wide Web pages.
• The most basic building block of the Web
• “Hypertext" refers to links that connect web pages to
one another, either within a single website or between
websites.
HTML
• HTML uses "markup" to annotate text, images, and other
content for display in a Web browser. HTML markup includes
special "elements" such as:
• <head>
• <title>
• <body>
• <header>, <footer>
• <p>
• many others
HTML
• HTML elements tell the browser how to display the
content.
• An HTML element is set off from other text in a document
by "tags", which consist of the element name surrounded
by “<“ and “>”.
• The name of an element inside a tag is case insensitive. It
can be written in uppercase, lowercase, or a mixture
Ex: <title> can be written as <Title>, <TITLE>, or in other way
HTML
• Originally developed by
Tim Berners-Lee while
at Conseil Europeen
pour la Recherche
Nucleaire (CERN)
HTML
• HTML was developed to make sure all devices will be
able to use the information on the Web.
• Computers with graphic displays of:
varying resolutions
color depth
computer accessing via high or low bandwidth
devices for speech input and output
cellular phones, hand held devices, etc.
HTML VERSIONS
HTML 1.0 (1989-1994)
• The first version of HTML that supported inline images and text
controls.
• Very limited in terms of styling and presentation of content
• Does not support the following:
Use of tables and frames
Specify fonts
Change page background
Use forms
• Because of these limitations, web page looked similar with the background
and the type of font used.
HTML 2.0 (1995)
• This specifications supported more browsers.
• It also supports the following:
forms with limited set of form elements such as text
boxes
option buttons
change of page background
use of tables
HTML 3.20 (1997)
• This version added support for style sheets and scripting ability for
multimedia elements.
• Focused on separating presentation styling information from the
actual content by the use of style sheets.
• The use of style sheets is possible to change appearance/look of
the website by changing just the style sheet itself.
XHTML (2000)
• HTML Headings
HTML headings are defined with the <h1> & </h1> to <h6> & </h6> tags
<h1> defines the most important heading and <h6> defines the least important heading
• HTML Paragraphs
HTML paragraphs are defined with the <p> & </p>tag
• HTML Links
HTML links are defined with the <a href=“link”> & </a> tag
HTML BASIC TAGS
• HTML Images
HTML images are defined with the <img> tag
The source file (src), alternative text (alt), width, and height are provided as attributes
Example: <img src="w3schools.jpg" alt="W3Schools.com" width="104" height="142">
• We believe that using a simple text editor is a good way to learn HTML.
• Follow the steps below to create your first web page with Notepad or
TextEdit.
ACTIVITY 1: HTML VERSIONS
Step 1: Open Notepad (PC) Step 1: Open TextEdit (Mac)
Windows 8 or later: Open Finder > Applications > TextEdit
Open the Start Screen (the window Also change some preferences to get the
symbol at the bottom left on your application to save files correctly. In
screen). Type Notepad. Preferences > Format > choose "Plain Text"
• https://developer.mozilla.org/en-US/docs/Web/HTML
• https://www.w3schools.com/html/
Activity 2
Code the given short love letter