Login | Signup | Support
  • 0
  • ×

    Add as FriendIntroduction to HTML

    by: Shwetank

    Current Rating : Rate It :



    1 : Introduction to HTML Prepared By : Shwetank Kumar 09 ITMG 1486 IT
    2 : What is HTML ? HTML is a computer language for describing web pages. It is the foundation of the World Wide Web and forms the basis of most web pages. • HTML stands for Hyper Text Markup Language • HTML is not a programming language, it is a markup language • A markup language is a set of markup tags • HTML uses markup tags to describe web pages The reason this is significant is that programming languages are quite complex and require a great deal of effort to master, whereas HTML is not. HTML is a very simple language and is quite easy to learn.
    3 : HTML Documents = Web Pages • HTML documents describe web pages • HTML documents contain HTML tags and plain text • HTML documents are also called web pages
    4 : HTML Tags HTML markup tags are usually called HTML tags HTML tags are not case sensitive. Many web sites use uppercase HTML tags. • HTML tags are keywords surrounded by angle brackets like • HTML tags normally come in pairs like and • The first tag in a pair is the start tag, the second tag is the end tag • Start and end tags are also called opening tags and closing tags
    5 : The HTML head Element The head element is a container for all the head elements. Elements inside can include scripts, instruct the browser where to find style sheets, provide meta information, and more. The HTML title Element The tag defines the title of the document. The title element is required in all HTML/XHTML documents. The title element: • defines a title in the browser toolbar • provides a title for the page when it is added to favorites • displays a title for the page in search-engine results </td> </tr> </table> </td> </tr><tr> <td> <table width="100%" style="color: #0056cc; padding:0px 2px 2px 2px;"> <tr> <td width="10%" > <strong>6 :</strong> </td> <td width="80%" > The HTML body Element The body contains all the contents for the page, and is what the browser displays. The body element defines the document's body. </td> </tr> </table> </td> </tr><tr> <td> <table width="100%" style="color: #0056cc; padding:0px 2px 2px 2px;"> <tr> <td width="10%" > <strong>7 :</strong> </td> <td width="80%" > Example <html> <head> <title>Example for the HTML body tag Document's content. Code end Source Code Output
    8 : HTML Attributes • HTML elements can have attributes • Attributes provide additional information about an element • Attributes are always specified in the start tag • Attributes come in name/value pairs like: name="value" Example:
    9 : HTML Hyperlinks (Links) A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section within the current document. When you move the cursor over a link in a Web page, the arrow will turn into a little hand. Links are specified in HTML using the tag. The tag can be used in two ways: 1. To create a link to another document, by using the ‘href’ attribute 2. To create a bookmark inside a document, by using the ‘name’ attribute
    10 : HTML Frames With frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others. The disadvantages of using frames are: • Frames are not expected to be supported in future versions of HTML • Frames are difficult to use. (Printing the entire page is difficult). • The web developer must keep track of more HTML documents
    11 : Example Source Code Output
    12 : Color Values HTML colors are defined using a hexadecimal notation (HEX) for the combination of Red, Green, and Blue color values (RGB). The lowest value that can be given to one of the light sources is 0 (in HEX: 00). The highest value is 255 (in HEX: FF). HEX values are specified as 3 pairs of two-digit numbers, starting with a # sign. Color Name HEX Black #000000 Red #FF0000   Green #00FF00 Blue #0000FF Yellow #FFFF00 Cyan #00FFFF Pink #FF00FF Grey #C0C0C0 White #FFFFFF
    13 : Thank You

    Presentation Tags

    Copyright © 2019 All rights reserved.