Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Himanshu Thanvi
Himanshu Thanvi
899 Points

list tag in html

using <li> tag in ul or ol tags the output is in the sequence but other para out of list (ul/ol) dosnt match the line of previous list , help please

'''html <h2 class="card-title">Background</h2> <ul> <li>I'm a aspiring web deweloper who loves everything about web. I've lived in lots of different places andv have worked in lots of different jobs .</li> <li>I'm excited to bring my life experience to the process of building fantastic looking websites </li> <li>I've been professional cook and gardner and as a life-long learner who is always who is always intrested in expanding in my skills </li> <li>To learn more, <a href="resume.html">view my resume.</a></li> <ul> <h3 class="card-title">A New Subsection</h3> '''hlml

Hi Thanvi,

please copy your code here in your question.

Otherwhise it is just a guessing game for someone who wants to help. ;-)

And I am sure I can help you in this issue.

If you copy the code make sure to include "´´´html" at the beginning of the code and "´´´" at the end so the code will be transformed into nicely readable code format here. :-)

Happy coding!

Nils

Himanshu Thanvi
Himanshu Thanvi
899 Points

hello Nils Kriedner yogi (pranam from india ) i have updated my question thnx for your suggestion please inform for further updation

4 Answers

Jamie Reardon
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

Hi, I don't really understand the question. However, try this:

<h2 class="card-title">Background</h2>
  <ul>
    <li>
      I'm a aspiring web developer who loves everything about web. I've lived in lots of different places and I have worked in lots of different jobs .
    </li>
    <li>
      I'm excited to bring my life experience to the process of building fantastic looking websites
    </li>
    <li>
      I've been professional cook and gardener and as a life-long learner who is always interested in expanding in my skills
    </li>
    <li>
      To learn more, <a href="resume.html">view my resume.</a>
    </li>
  </ul>
  <h3 class="card-title">A New Subsection</h3>
Himanshu Thanvi
Himanshu Thanvi
899 Points

thnx again jamie , I understood now it was just formating issue in sequence yhat i did'nt did ; can you suggest any shortcut for this because in video I could'nt understand

Jamie Reardon
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

Your welcome, can you tell me what it is you don't understand? Or possibly link me the video? Thanks.

Himanshu Thanvi
Himanshu Thanvi
899 Points

how do y post answer in coding form and not in text form , and where would I get link of that video I am not into pro version of teamtreehouse

Jamie Reardon
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

To post an answer in coding form you must use the following:

```html for HTML code.

```css for CSS.

Make sure that at the bottom of your code, you include ``` to close it off.

There is even a link below that references the syntax you can use in your posts. Check out the Markdown Cheatsheet below to see the examples.

Hi Himanshu,

for the link of the video you can just copy the URL from your browser. No need to be a pro member. Just of course only members can watch the video then...

Happy coding, Nils

Himanshu Thanvi
Himanshu Thanvi
899 Points

https://teamtreehouse.com/library/introduction-to-html-and-css this is the link and in this HTML List is the video in which teacher told to intend list(<li>) items as it is into the ul or ol for this she select all listed text and does some command which I don't understand ?

Which command is it that you don't understand?

Himanshu Thanvi
Himanshu Thanvi
899 Points

I dont know the command ,I have explained in the previous comment she just told that we intend the text between the list as it is into the <ol> or <ul> by some command (which I dont know ) for systematic view on browser

I think what you mean is "indenting multiple lines", right?

In the code editor of teamtreehouse this is done by pressing: CTRL + ]

Alternatively you can also click on "Edit" -> "Indent" in the top menu of the code editor.