ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Enterprise Application Development
    EC-332
    Progress0 / 37 topics
    Topics
    1. Overview of Enterprise Application Development: Microsoft technology history2. Introduction to .NET and its architecture3. Concept of MSIL, CLR, CLS, CTS4. Introduction to .NET framework: Managed and Unmanaged Code5. .Net Assembly6. Introduction to C# fundamentals7. Boxing and Unboxing8. Implementing multi-tier architecture9. Introduction to ADO.Net: SQL Injection, parameterized queries10. Usage of data set, Data adapter and command builder in disconnected model11. Introduction to delegate: Multicast delegates12. Introduction to windows forms13. HTML14. Introduction to javascript: javascript and its data types, variables, functions15. Debugging javascript using Firebug16. Introduction to various object models: Browser's Object (BOM), Document Object Model17. Introduction to Jquery: Jquery effects18. Introducing LINQ: LINQ to Objects, LINQ to SQL19. Query syntax, Operations (projection, filtering and join) using Linq Queries20. Introduction to ADO.NET entity framework: The entity data model, CSDL21. Eager vs lazy loading, POCO classes, DBContext API22. Querying entity data models23. Introduction to ASP.NET MVC24. MVC application structure, Controllers overview25. Action Methods, Parameterized action methods26. Introduction to razor syntax27. Code expressions, Code Blocks, Implicit Vs Explicit Code Expression28. Data annotations, Client and Server Side Validation29. Validation and model binding, Validation and model state30. MVC Membership, Authorization and security31. Introduction to service-oriented architecture: SOAP, WSDL32. Service contract, Data contract, XML, WCF bindings33. ABC of WCF, Restful services34. Consuming rest services (CRUD operations) using Jquery AJAX and JSON35. Introduction to web API36. Example of web API using CRUD Example37. MVC routing
    EC-332›HTML
    Enterprise Application DevelopmentTopic 13 of 37

    HTML

    8 minread
    1,308words
    Intermediatelevel

    Introduction to HTML (Hypertext Markup Language)

    HTML (Hypertext Markup Language) is the standard markup language used to create web pages. It forms the basic structure of web content and is used to define elements like headings, paragraphs, links, images, forms, and other content that is displayed on the web. HTML is not a programming language but a markup language that describes the structure of a webpage.

    Key Features of HTML:

    1. Markup Language: HTML uses tags to define the content and structure of web pages. These tags are enclosed in angle brackets (< >), such as <html>, <head>, and <body>.
    2. Simple Syntax: HTML has a simple syntax, making it easy to learn and use.
    3. Supports Multimedia: HTML can embed images, audio, video, and other multimedia elements.
    4. Hyperlinks: HTML provides the ability to create hyperlinks, which allow navigation between different pages or websites.
    5. Cross-Browser Compatibility: HTML is supported by all major web browsers, ensuring that web pages can be viewed across different devices and platforms.

    Basic Structure of an HTML Document

    An HTML document is made up of several key sections. Here's the basic structure of an HTML document:

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>My First HTML Page</title>
    </head>
    <body>
        <h1>Welcome to My Website</h1>
        <p>This is my first webpage!</p>
    </body>
    </html>
    

    Explanation of HTML Tags and Structure:

    1. <!DOCTYPE html>: This declaration defines the document type and version of HTML being used (HTML5 in this case). It tells the browser to expect an HTML5 document.

    2. <html>: This is the root element of the HTML document. All other HTML elements are nested inside it.

    3. <head>: Contains metadata about the HTML document, such as the title of the page, links to stylesheets, and other important information for the browser but not visible to the user.

    4. <meta charset="UTF-8">: Specifies the character encoding for the document, which ensures that all characters are displayed correctly.

    5. <meta name="viewport" content="width=device-width, initial-scale=1.0">: Ensures the page is responsive on different screen sizes by controlling the viewport settings.

    6. <title>: Defines the title of the page, which appears in the browser tab.

    7. <body>: Contains the main content of the web page that is visible to users.

    8. <h1>: A header tag used to define the main heading on the page. There are <h1> to <h6> tags for defining headings of different levels.

    9. <p>: A paragraph tag used to define text content.

    Common HTML Tags

    1. Headings: HTML defines six levels of headings:

      • <h1>: The most important heading.
      • <h2> to <h6>: Less important headings, in decreasing order of importance.
      <h1>Main Heading</h1>
      <h2>Subheading</h2>
      
    2. Paragraphs: The <p> tag defines a paragraph of text.

      <p>This is a paragraph of text.</p>
      
    3. Links: The <a> tag is used to create hyperlinks. The href attribute specifies the URL the link points to.

      <a href="https://www.example.com">Click here to visit Example</a>
      
    4. Images: The <img> tag is used to embed images. The src attribute specifies the image's file location, and the alt attribute provides alternative text.

      <img src="image.jpg" alt="A description of the image">
      
    5. Lists: There are two main types of lists in HTML:

      • Ordered List: <ol> defines an ordered list (numbered list).
      • Unordered List: <ul> defines an unordered list (bulleted list).
      • Each item in the list is defined with the <li> tag.
      <ul>
          <li>Item 1</li>
          <li>Item 2</li>
      </ul>
      
      <ol>
          <li>First item</li>
          <li>Second item</li>
      </ol>
      
    6. Forms: HTML forms are used to collect user input. The <form> tag defines the form, and it can include various input elements like text fields, checkboxes, radio buttons, and submit buttons.

      <form action="/submit" method="POST">
          <label for="name">Name:</label>
          <input type="text" id="name" name="name">
          <input type="submit" value="Submit">
      </form>
      
    7. Tables: HTML tables are created with the <table>, <tr>, <td>, and <th> tags.

      <table>
          <tr>
              <th>Name</th>
              <th>Age</th>
          </tr>
          <tr>
              <td>John Doe</td>
              <td>30</td>
          </tr>
      </table>
      
    8. Div and Span:

      • <div> is a block-level element used to group sections of content.
      • <span> is an inline element used to style or group small portions of content.
      <div>
          <h2>Section Title</h2>
          <p>Some content goes here.</p>
      </div>
      
      <p>This is <span style="color:red">important</span> text.</p>
      

    HTML Attributes

    Attributes provide additional information about an HTML element. They are always written inside the opening tag. Some common attributes include:

    1. id: Assigns a unique identifier to an element.

      <p id="intro">This is an introductory paragraph.</p>
      
    2. class: Assigns a class name to an element, which can be used for styling with CSS.

      <p class="highlight">This is a highlighted paragraph.</p>
      
    3. style: Adds inline CSS styling to an element.

      <p style="color: blue;">This text is blue.</p>
      
    4. src: Specifies the source for media elements like images and videos.

      <img src="logo.png" alt="Company Logo">
      
    5. href: Specifies the URL for a link.

      <a href="https://www.example.com">Go to Example</a>
      

    HTML Forms and Input Elements

    Forms allow users to enter data, such as text, numbers, dates, etc. Common input elements include:

    • Text input: <input type="text"> for entering text.
    • Password input: <input type="password"> to enter sensitive information.
    • Radio buttons: <input type="radio"> for selecting one option from a group.
    • Checkboxes: <input type="checkbox"> for selecting multiple options.
    • Submit button: <input type="submit"> to send the form data.
    <form action="submit_form.php">
       <label for="username">Username:</label>
       <input type="text" id="username" name="username">
       
       <label for="gender">Gender:</label>
       <input type="radio" id="male" name="gender" value="Male">
       <input type="radio" id="female" name="gender" value="Female">
       
       <input type="submit" value="Submit">
    </form>
    

    HTML5 and New Features

    HTML5 introduced several new features and APIs, including:

    • Semantic elements: Tags like <header>, <footer>, <article>, <section>, and <nav> to better define the structure and meaning of content.
    • Multimedia support: Native support for embedding audio (<audio>) and video (<video>) elements.
    • Canvas: A <canvas> element to draw graphics dynamically using JavaScript.
    • Local storage: Storing data in the browser with local storage API.

    Conclusion

    HTML is the backbone of web development, providing the fundamental structure of web pages. By combining HTML with other technologies like CSS (Cascading Style Sheets) for styling and JavaScript for interactivity, developers can create rich, dynamic, and interactive web applications. Understanding HTML is essential for anyone looking to develop websites or web-based applications.

    Previous topic 12
    Introduction to windows forms
    Next topic 14
    Introduction to javascript: javascript and its data types, variables, functions

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time8 min
      Word count1,308
      Code examples0
      DifficultyIntermediate