>>                                                                       MMD2093| FUNDAMENTAL OF WEB DESIGN


>>
                                                     HTML

What you need?

     1. A web browser
          A browser is the program that makes it possible to browse and open websites.
          E.g – Internet Explorer, Opera, Mozilla Firefox
     2. Simple text editor
        Notepad, Wordpad

What is HTML?

     1. Hyper is the opposite of linear. In the good old days - when a mouse was
        something the cat chased - computer programs ran linearly: when the
        program had executed one action it went to the next line and after that,
        the next line and so on. But HTML is different - you can go wherever you
        want and whenever you want. For example, it is not necessary to visit
        MSN.com before you visit HTML.net.
     2. Text is self-explanatory.
     3. Mark-up is what you do with the text. You are marking up the text the same
        way you do in a text editing program with headings, bullets and bold text
        and so on.
     4. Language is what HTML is. It uses many English words.




HTML Element

     1.   An HTML element starts with a start tag / opening tag
     2.   An HTML element ends with an end tag / closing tag
     3.   The element content is everything between the start and the end tag
     4.   Some HTML elements have empty content
     5.   Empty elements are closed in the start tag
     6.   Most HTML elements can have attributes




                                     Start Tag




                                            Empty Element

                                             End Tag




                                       Khairul Noor Azwa binti Kamarudin                                  I
                        Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
>>                                                                       MMD2093| FUNDAMENTAL OF WEB DESIGN


HTML Attributes

     1.   HTML elements can have attributes
     2.   Attributes provide additional information about an element
     3.   Attributes are always specified in the start tag
     4.   Attributes come in name/value pairs like: name="value"




                                                       Attributes




Attribute        Value                       Description
class            classname                   Specifies a classname for an element
id               id                          Specifies a unique id for an element
style            style_definition            Specifies an inline style for an element
title            text                        Specifies extra information about an element

Example for Title attribute




Example for Style attribute




                                       Khairul Noor Azwa binti Kamarudin                                  II
                        Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
>>                                                                   MMD2093| FUNDAMENTAL OF WEB DESIGN

Example for Class attribute




Example for ID attribute




HTML Element

Tag             Description
<!--...-->      Defines a comment
<!DOCTYPE>      Defines the document type
<a>             Defines an anchor
<abbr>          Defines an abbreviation
<acronym>       Defines an acronym
<address>       Defines contact information for the author/owner of a
                document
<applet>        Deprecated. Defines an embedded applet
<area />        Defines an area inside an image-map
<b>             Defines bold text
<base />        Defines a default address or a default target for all links on


                                   Khairul Noor Azwa binti Kamarudin                                 III
                    Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
>>                                                                  MMD2093| FUNDAMENTAL OF WEB DESIGN


               a page
<basefont />   Deprecated. Defines a default font, color, or size for the
               text in a page
<bdo>          Defines the text direction
<big>          Defines big text
<blockquote>   Defines a long quotation
<body>         Defines the document's body
<br />         Defines a single line break
<button>       Defines a push button
<caption>      Defines a table caption
<center>       Deprecated. Defines centered text
<cite>         Defines a citation
<code>         Defines computer code text
<col />        Defines attribute values for one or more columns in a table
<colgroup>     Defines a group of columns in a table for formatting
<dd>           Defines a description of a term in a definition list
<del>          Defines deleted text
<dfn>          Defines a definition term
<dir>          Deprecated. Defines a directory list
<div>          Defines a section in a document
<dl>           Defines a definition list
<dt>           Defines a term (an item) in a definition list
<em>           Defines emphasized text
<fieldset>     Defines a border around elements in a form
<font>         Deprecated. Defines font, color, and size for text
<form>         Defines an HTML form for user input
<frame />      Defines a window (a frame) in a frameset
<frameset>     Defines a set of frames
<h1> to <h6>   Defines HTML headings
<head>         Defines information about the document
<hr />         Defines a horizontal line
<html>         Defines an HTML document
<i>            Defines italic text
<iframe>       Defines an inline frame
<img />        Defines an image
<input />      Defines an input control
<ins>          Defines inserted text
<isindex>      Deprecated. Defines a searchable index related to a

                                  Khairul Noor Azwa binti Kamarudin                                 IV
                   Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
>>                                                                MMD2093| FUNDAMENTAL OF WEB DESIGN


             document
<kbd>        Defines keyboard text
<label>      Defines a label for an input element
<legend>     Defines a caption for a fieldset element
<li>         Defines a list item
<link />     Defines the relationship between a document and an
             external resource
<map>        Defines an image-map
<menu>       Deprecated. Defines a menu list
<meta />     Defines metadata about an HTML document
<noframes>   Defines an alternate content for users that do not support
             frames
<noscript>   Defines an alternate content for users that do not support
             client-side scripts
<object>     Defines an embedded object
<ol>         Defines an ordered list
<optgroup>   Defines a group of related options in a select list
<option>     Defines an option in a select list
<p>          Defines a paragraph
<param />    Defines a parameter for an object
<pre>        Defines preformatted text
<q>          Defines a short quotation
<s>          Deprecated. Defines strikethrough text
<samp>       Defines sample computer code
<script>     Defines a client-side script
<select>     Defines a select list (drop-down list)
<small>      Defines small text
<span>       Defines a section in a document
<strike>     Deprecated. Defines strikethrough text
<strong>     Defines strong text
<style>      Defines style information for a document
<sub>        Defines subscripted text
<sup>        Defines superscripted text
<table>      Defines a table
<tbody>      Groups the body content in a table
<td>         Defines a cell in a table
<textarea>   Defines a multi-line text input control
<tfoot>      Groups the footer content in a table


                                Khairul Noor Azwa binti Kamarudin                                 V
                 Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
>>                                                            MMD2093| FUNDAMENTAL OF WEB DESIGN


<th>      Defines a header cell in a table
<thead>   Groups the header content in a table
<title>   Defines the title of a document
<tr>      Defines a row in a table
<tt>      Defines teletype text
<u>       Deprecated. Defines underlined text
<ul>      Defines an unordered list
<var>     Defines a variable part of a text

Example

Font




Table




                            Khairul Noor Azwa binti Kamarudin                                 VI
             Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
>>                                                              MMD2093| FUNDAMENTAL OF WEB DESIGN

Image source




                              Khairul Noor Azwa binti Kamarudin                                VII
               Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak

More Related Content

PDF
Innovative way for normalizing xml document
PPTX
Body Section in HTML - R.D.Sivakumar
PDF
Proposal sample
PPTX
Introduction to HTML with syntax and tags.pptx
PPTX
PDF
Punit summer traning report.pdf
Innovative way for normalizing xml document
Body Section in HTML - R.D.Sivakumar
Proposal sample
Introduction to HTML with syntax and tags.pptx
Punit summer traning report.pdf

Similar to Html (20)

PPTX
Unit-III_JQuery.pptx engineering subject for third year students
PDF
WEB DESIGNING.pdf
PDF
Web designing
DOCX
html-tags.docx
DOCX
List of html tags
PPTX
INTRODUTION TO HTML.pptx
PDF
Basic of HTML
PDF
chapter-17-web-designing2.pdf
PPTX
It8074 soa-unit i
PPTX
web development presentation computer science
PDF
html5-tag-cheat-sheet-2019.pdf
PPT
HTML Tags: HTML tags are the basic building blocks of any website. They are u...
PPTX
Document Object Model (DOM)
PPTX
Html Simple Tutorial
PDF
Computer skills for web designing and video editing_Lab Manual.pdf
PPTX
MTA html5 organization, input, and validation
PDF
PPT-203105353-1.pdf
PPTX
It8074 soa-unit i
PDF
it8074-soa-uniti-.pdf
PPSX
DIWE - Coding HTML for Basic Web Designing
Unit-III_JQuery.pptx engineering subject for third year students
WEB DESIGNING.pdf
Web designing
html-tags.docx
List of html tags
INTRODUTION TO HTML.pptx
Basic of HTML
chapter-17-web-designing2.pdf
It8074 soa-unit i
web development presentation computer science
html5-tag-cheat-sheet-2019.pdf
HTML Tags: HTML tags are the basic building blocks of any website. They are u...
Document Object Model (DOM)
Html Simple Tutorial
Computer skills for web designing and video editing_Lab Manual.pdf
MTA html5 organization, input, and validation
PPT-203105353-1.pdf
It8074 soa-unit i
it8074-soa-uniti-.pdf
DIWE - Coding HTML for Basic Web Designing
Ad

More from sephia17584 (20)

DOC
DOC
Open book q
DOCX
Group ofdmg11
PPTX
Mmd 2093 ch2
DOCX
Microsoft excel
DOCX
Quiz 01 _dnm
DOCX
PPT
Intro toflash
PPT
Mmd2153 intro
PPT
Mmd2093 2 4
PPT
Mmd2093
DOC
Latihan
PDF
Microsoft excel
DOCX
Quiz 2 oa
PDF
Itc2093 intro
DOCX
Quiz 3
DOCX
Quiz 2 _ MMD2093_2
DOCX
Quiz 2 _ MMD2193
PDF
Treatment sample
PDF
Rangkakerja sampel
Open book q
Group ofdmg11
Mmd 2093 ch2
Microsoft excel
Quiz 01 _dnm
Intro toflash
Mmd2153 intro
Mmd2093 2 4
Mmd2093
Latihan
Microsoft excel
Quiz 2 oa
Itc2093 intro
Quiz 3
Quiz 2 _ MMD2093_2
Quiz 2 _ MMD2193
Treatment sample
Rangkakerja sampel
Ad

Recently uploaded (20)

PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Architecture types and enterprise applications.pdf
PDF
Unlock new opportunities with location data.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
STKI Israel Market Study 2025 version august
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
Modernising the Digital Integration Hub
O2C Customer Invoices to Receipt V15A.pptx
Architecture types and enterprise applications.pdf
Unlock new opportunities with location data.pdf
A comparative study of natural language inference in Swahili using monolingua...
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Getting Started with Data Integration: FME Form 101
Assigned Numbers - 2025 - Bluetooth® Document
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
A novel scalable deep ensemble learning framework for big data classification...
Module 1.ppt Iot fundamentals and Architecture
Getting started with AI Agents and Multi-Agent Systems
Group 1 Presentation -Planning and Decision Making .pptx
observCloud-Native Containerability and monitoring.pptx
Enhancing emotion recognition model for a student engagement use case through...
Univ-Connecticut-ChatGPT-Presentaion.pdf
STKI Israel Market Study 2025 version august
Final SEM Unit 1 for mit wpu at pune .pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Modernising the Digital Integration Hub

Html

  • 1. >> MMD2093| FUNDAMENTAL OF WEB DESIGN >> HTML What you need? 1. A web browser A browser is the program that makes it possible to browse and open websites. E.g – Internet Explorer, Opera, Mozilla Firefox 2. Simple text editor Notepad, Wordpad What is HTML? 1. Hyper is the opposite of linear. In the good old days - when a mouse was something the cat chased - computer programs ran linearly: when the program had executed one action it went to the next line and after that, the next line and so on. But HTML is different - you can go wherever you want and whenever you want. For example, it is not necessary to visit MSN.com before you visit HTML.net. 2. Text is self-explanatory. 3. Mark-up is what you do with the text. You are marking up the text the same way you do in a text editing program with headings, bullets and bold text and so on. 4. Language is what HTML is. It uses many English words. HTML Element 1. An HTML element starts with a start tag / opening tag 2. An HTML element ends with an end tag / closing tag 3. The element content is everything between the start and the end tag 4. Some HTML elements have empty content 5. Empty elements are closed in the start tag 6. Most HTML elements can have attributes Start Tag Empty Element End Tag Khairul Noor Azwa binti Kamarudin I Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
  • 2. >> MMD2093| FUNDAMENTAL OF WEB DESIGN HTML Attributes 1. HTML elements can have attributes 2. Attributes provide additional information about an element 3. Attributes are always specified in the start tag 4. Attributes come in name/value pairs like: name="value" Attributes Attribute Value Description class classname Specifies a classname for an element id id Specifies a unique id for an element style style_definition Specifies an inline style for an element title text Specifies extra information about an element Example for Title attribute Example for Style attribute Khairul Noor Azwa binti Kamarudin II Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
  • 3. >> MMD2093| FUNDAMENTAL OF WEB DESIGN Example for Class attribute Example for ID attribute HTML Element Tag Description <!--...--> Defines a comment <!DOCTYPE> Defines the document type <a> Defines an anchor <abbr> Defines an abbreviation <acronym> Defines an acronym <address> Defines contact information for the author/owner of a document <applet> Deprecated. Defines an embedded applet <area /> Defines an area inside an image-map <b> Defines bold text <base /> Defines a default address or a default target for all links on Khairul Noor Azwa binti Kamarudin III Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
  • 4. >> MMD2093| FUNDAMENTAL OF WEB DESIGN a page <basefont /> Deprecated. Defines a default font, color, or size for the text in a page <bdo> Defines the text direction <big> Defines big text <blockquote> Defines a long quotation <body> Defines the document's body <br /> Defines a single line break <button> Defines a push button <caption> Defines a table caption <center> Deprecated. Defines centered text <cite> Defines a citation <code> Defines computer code text <col /> Defines attribute values for one or more columns in a table <colgroup> Defines a group of columns in a table for formatting <dd> Defines a description of a term in a definition list <del> Defines deleted text <dfn> Defines a definition term <dir> Deprecated. Defines a directory list <div> Defines a section in a document <dl> Defines a definition list <dt> Defines a term (an item) in a definition list <em> Defines emphasized text <fieldset> Defines a border around elements in a form <font> Deprecated. Defines font, color, and size for text <form> Defines an HTML form for user input <frame /> Defines a window (a frame) in a frameset <frameset> Defines a set of frames <h1> to <h6> Defines HTML headings <head> Defines information about the document <hr /> Defines a horizontal line <html> Defines an HTML document <i> Defines italic text <iframe> Defines an inline frame <img /> Defines an image <input /> Defines an input control <ins> Defines inserted text <isindex> Deprecated. Defines a searchable index related to a Khairul Noor Azwa binti Kamarudin IV Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
  • 5. >> MMD2093| FUNDAMENTAL OF WEB DESIGN document <kbd> Defines keyboard text <label> Defines a label for an input element <legend> Defines a caption for a fieldset element <li> Defines a list item <link /> Defines the relationship between a document and an external resource <map> Defines an image-map <menu> Deprecated. Defines a menu list <meta /> Defines metadata about an HTML document <noframes> Defines an alternate content for users that do not support frames <noscript> Defines an alternate content for users that do not support client-side scripts <object> Defines an embedded object <ol> Defines an ordered list <optgroup> Defines a group of related options in a select list <option> Defines an option in a select list <p> Defines a paragraph <param /> Defines a parameter for an object <pre> Defines preformatted text <q> Defines a short quotation <s> Deprecated. Defines strikethrough text <samp> Defines sample computer code <script> Defines a client-side script <select> Defines a select list (drop-down list) <small> Defines small text <span> Defines a section in a document <strike> Deprecated. Defines strikethrough text <strong> Defines strong text <style> Defines style information for a document <sub> Defines subscripted text <sup> Defines superscripted text <table> Defines a table <tbody> Groups the body content in a table <td> Defines a cell in a table <textarea> Defines a multi-line text input control <tfoot> Groups the footer content in a table Khairul Noor Azwa binti Kamarudin V Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
  • 6. >> MMD2093| FUNDAMENTAL OF WEB DESIGN <th> Defines a header cell in a table <thead> Groups the header content in a table <title> Defines the title of a document <tr> Defines a row in a table <tt> Defines teletype text <u> Deprecated. Defines underlined text <ul> Defines an unordered list <var> Defines a variable part of a text Example Font Table Khairul Noor Azwa binti Kamarudin VI Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak
  • 7. >> MMD2093| FUNDAMENTAL OF WEB DESIGN Image source Khairul Noor Azwa binti Kamarudin VII Kolej Multimedia (Utara), Jalan Lumba Kuda, 34672 Taiping, Perak