Friday, 24 March 2017

PAGE 2 Of HTML



PAGE 2

How to create pages with HTML
it is necessary that the pages you create with HTML will be
plain text, so that every browser can recognize the tags and
interpret them properly. That’s  why you always use any text
editor like Windows Notepad (shown In figure 1.1) or MSDOS Edit etc. and the document is saved with an extension “.htm” or “.html” . although you may create your Web pages using several Web tools such as Front page Express and Macromedia Dream Weaver etc.



Figure 1.1 

HTML  Elements, Tags and Attributes
A web page is made up of elements, Which is defined by an HTML code or tags. A tag is generally a HTML command, Which should look like <HTML> always enclosed with angel brackets, and most tags come in pairs, opening and closing.. The closing tag is similar as the opening tag but it starts with a forward slash “/”.


Example:  
                  <BODY> my web page !! </BODY>

                   (opening tag)                     (closing tag)
An atribute is usally a keyword that takes one of several possible values, some tags have optional or required attributes.

       Example:
                   <H1 ALIGN="LEFT"> Attribute Testing </H1>

                        (Alignment Attribute)


No comments:

Post a Comment

PAGE 3

PAGE 3 Paragraph, Line Breaks and Horizontal Line Tag Attribute Function <p> ...