E
E
Elena Zarichanskaya2016-06-30 19:30:17
HTML
Elena Zarichanskaya, 2016-06-30 19:30:17

How to write user comments in HTML?

Please tell me how to write user comments in HTML correctly. I'm building in Bootstrap, there are snippets, but I can't figure out how to insert them into the form? I can not understand the principle of imposition of comments. Here is the code:

<div class="container">
                    <div class="comments">
                        <h5>2 comments</h5>
                        <ul class="media-list">
                            <li class="media">
                                <div class="media-left">
                                    <a href="#">
                                        <img src="images/Livello-2.jpg" class="media-object img-circle" alt="avatar">
                                    </a>
                                </div>
                                <div class="media-body">
                                    <div class="medi-heading">
                                        <div class="autor">john doe</div>
                                    </div>
                                    <div class="media-text text-justify">Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo!
                                    </div>
                                    <div class="footer-comment">
                                        <span class="comment-reply">
                                            <a data-toggle="collapse" href="#collapseOne" class="reply">reply</a>
                                        </span>
                                    </div>
                                    <div id="collapseOne" class="panel-collapse collapse">
                                        <div class="media-body">
                                            <textarea class="form-control" name="comments" rows="3" placeholder="Join the discussion"></textarea>
                                        </div>
                                    </div>
                                </div>
                            </li>
                        </ul>
                    </div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AlexanderShustik, 2016-06-30
@matildaode

Refer to .form-control

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question