Safcode Institute by Sir Safder

  • What is HTML?

    HTML is a language for describing web pages.
        * HTML stands for HyperText Markup Language.
        * HTML is used to create a web page.
        * Current version of HTML is HTML5.
        * A markup language is a set of markup tags.
        * HTML uses markup tags to describe web pages. 
    HTML is not a programming language, but rather a markup language.
    Editing HTML
    HTML can be written and edited using many different editors like 
    Dreamweaver, Visual Studio, Sublime, Notepad or Notepad++. 
    We use a plain text editor (like Notepad) to edit HTML. 
    We believe using a plain text editor is the best way to learn HTML.
    Create Your Own Test Web. 
    If you want to create a test page on your own computer,
    So create a notepad file first.
    Then write the html tag.
    After tag you save the file name and change the Extension..
    .HTML File Extension?
    When you save an HTML file, you can use .html file extension. 
    HTML Element Syntax
        * An HTML element starts with a start tag <p> opening tag
        * An HTML element ends with an end tag </p> closing tag
        * The element content is everything between the start and the end tag
        * Some HTML elements have empty content
        * Empty elements are closed in the start tag like <br />
        * Most HTML elements can have attributes
    An element consists of three basic parts: 
    an opening tag, the element's content, and finally, a closing tag.
       1. <p> - opening paragraph tag
       2. Element Content - paragraph words
       3. </p> - closing tag
    Every (web) page requires four critical elements: 
    the html, head, title, and body elements.
    The <html> Element...</html>
    <html> begins and ends each and every web page. 
    Its sole purpose is to encapsulate all the HTML code and describe 
    the HTML document to the web browser. 
    Remember to close your HTML documents with the corresponding </html> tag 
    at the bottom of the document.
    Structure of HTML:
    <!DOCTYPE html>
    <title>Our Website Title</title>
    <p>This is a paragraph.</p>

  • You Can Also Watch Our Tutorial