• Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • pratyush raj
    pratyush raj
    7,097 Points

    why we set diaplay:block in Label CSS layout

    Posted July 21, 2020 4:18am by pratyush raj
    pratyush raj
    7,097 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    1 Answer

  • Michael Bran
    Michael Bran
    1,687 Points

    Is there any reason why simply using an h tag to do this wouldnt work just as well? <h3>Name:</h3>

    Posted May 10, 2019 5:15pm by Michael Bran
    Michael Bran
    1,687 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    2 Answers

  • Bradley Hapgood
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Bradley Hapgood
    Full Stack JavaScript Techdegree Student 9,041 Points

    Would it be just as good to include a "placeholder" attribute?

    Posted April 14, 2019 4:35pm by Bradley Hapgood
    .a{fill-rule:evenodd;}techdegree
    Bradley Hapgood
    Full Stack JavaScript Techdegree Student 9,041 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    2 Answers

  • Aakash Srivastav
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Aakash Srivastav
    Full Stack JavaScript Techdegree Student 11,638 Points

    <label> element

    Posted March 22, 2018 12:13pm by Aakash Srivastav
    .a{fill-rule:evenodd;}techdegree
    Aakash Srivastav
    Full Stack JavaScript Techdegree Student 11,638 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    2 Answers

  • web pad
    web pad
    4,483 Points

    In order so that the "for"attribute in label tag to work, must each input element have an 'id' ?

    Posted March 14, 2018 9:21pm by web pad
    web pad
    4,483 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    1 Answer

  • Damian Toczek
    Damian Toczek
    4,471 Points

    What's the difference between for="abc" and <input> inside a <label> element?

    Posted January 15, 2018 5:39pm by Damian Toczek
    Damian Toczek
    4,471 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    1 Answer

  • Immanuel Jaeggi
    Immanuel Jaeggi
    5,164 Points

    My lables don`t focus on the corresponding fields when clicked on.

    Posted January 10, 2018 8:30pm by Immanuel Jaeggi
    Immanuel Jaeggi
    5,164 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    2 Answers

  • Stefan Cutajar
    Stefan Cutajar
    7,747 Points

    Styling forms

    Posted January 4, 2018 6:39pm by Stefan Cutajar
    Stefan Cutajar
    7,747 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    1 Answer

  • Dee K
    Dee K
    17,815 Points

    Label.light?

    Posted September 24, 2016 9:19pm by Dee K
    Dee K
    17,815 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    1 Answer

  • Brent McDonald
    Brent McDonald
    1,261 Points

    My labels don't focus on the elements when clicked like in the tutorial. Is this still a supported function?

    Posted August 22, 2016 10:59am by Brent McDonald
    Brent McDonald
    1,261 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    2 Answers

  • Keith Corona
    Keith Corona
    9,553 Points

    "Name" input field is not grey or sized like the other input boxes, problem?

    Posted January 5, 2016 6:39am by Keith Corona
    Keith Corona
    9,553 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    1 Answer

  • Sahar Nasiri
    Sahar Nasiri
    7,454 Points

    Labels' font

    Posted October 12, 2015 9:23am by Sahar Nasiri
    Sahar Nasiri
    7,454 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    4 Answers

  • rajbee
    rajbee
    6,657 Points

    Do we really need to have the "for" attribute in a label ?

    Posted September 8, 2015 6:25am by rajbee
    rajbee
    6,657 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    2 Answers

  • Ryan Boyd
    Ryan Boyd
    7,561 Points

    How to get Label inside of form box?

    Posted April 20, 2015 6:40am by Ryan Boyd
    Ryan Boyd
    7,561 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    4 Answers

  • Hannah Demers
    Hannah Demers
    2,894 Points

    Opened workspace and all the work I did in the form basics badge is gone.....

    Posted April 6, 2015 4:51pm by Hannah Demers
    Hannah Demers
    2,894 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    6 Answers

  • Meredith Wiegman
    Meredith Wiegman
    4,804 Points

    Form field focus by placing input element inside label element

    Posted February 12, 2015 4:33pm by Meredith Wiegman
    Meredith Wiegman
    4,804 Points
    • HTML
    • HTML Forms
    • Organizing Forms
    • The Label Element

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.