help4code-logo
  • eLearning
    • Tutorials
    • Programs
    • Interview Questions
    • Technical Questions
    • C Language
    • C++
    • JAVA
    • HTML & CSS
    • PHP
    • AJAX
    • J2EE
    • SQL
    • jQuery
  • Go back to Home
  • Our Placements
  • Tutorials
  • Programs
  • Interview Questions
  • Technical Questions
  • Live Training
  • Our Placements
  • Associated Colleges
  • Our Recruiters
  • Back
  • C Language
  • C++
  • JAVA
  • HTML & CSS
  • PHP
  • AJAX
  • J2EE
  • SQL
  • jQuery

Tutorials

  1. Home
  2. Tutorials
  3. HTML & CSS
  4. Tags
Image

HTML & CSS - Tags - Div tag

  • Topics
    • HTML
    • HTML Introduction
    • HTML ELEMENTS
    • HTML ATTRIBUTE
    • HTML HEADING
    • PARAGRAPH TAG
    • HTML FORMATTING
    • HTML QUOTATION
    • HTML COMMENTS
    • HTML LINKS
    • HTML IMAGE
    • HTML TABLES
      • HTML TABLES
      • HTML Table with a Border Attribute
      • Cell padding in table
      • Table heading in html
      • Cell span for many coloumns
      • Cell span for many rows
    • HTML LISTS
      • HTML LISTS
      • Ordered list
      • Unordered List
      • Description list
    • HTML FORM
      • HTML FORM
      • HTML ELEMENT
    • Textfeild control
    • Label tag in form
    • Password in html
    • Html email field
    • Checkbox in html
    • Marquee HTML
      • Marquee HTML
      • HTML Marquee Attributes
    • Tags
      • Quote tag
      • Div tag
      • Pre tag
      • HTML input tag
    • HTML 5
      • HTML5
      • HTML 5 Tags
      • Audio tag
      • Video tag
      • Article tag
      • Footer tags
      • Header tag
      • Section tag

Div tag

Div tags is the collection of group of tags. If we won’t to specify any paragraph, heading tags. So we can specify inside of div tags. This tags represent the document’s body which keeps other html tags like <h1>,<div>,<p>etc.

<html>
<body>
<div style="border:1px solid 
red;padding:20px;font-size20px">
<p> help4code.com </P>
</div>
</body>
</html>
O/P

help4code.com


  • Previous
  • Next
  • Help4Code

    The help4code.com - An e-learning educational website where all computer science students can find rich collection of computer language programs which will help in exploring computer programming.

    • About
    • Associated Colleges
    • Leadership
    • Careers
    • Our Recruiters
    • Community
    • Terms
    • Privacy
    • Help
    • Press
    • Contact
    • Directory

    First Floor, Plot No. 4, Near Shat Ayu College, Ring Road Nagpur, Maharashtra, India - 440022
    +91 9175287066[email protected]

    © Copyright 2022 help4code.com.

    • My Account
    • Sign-in
    • Sign-up