HTML Comments Markup Markup.
.comment {
width: 400px;
}
.comment_img {
float: left;
}
.comment_text,
.comment_meta {
margin-left: 40px;
}
.comment_meta {
clear: both;
}
<div class="comment" id="comment_(comment id #)">
<div class="comment_img">
<img src="https://placehold.it/100" alt="(Commenter Name)" />
</div>
<div class="comment_text">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed mauris. Morbi quis tellus sit amet eros ullamcorper ultrices. Proin a tortor. Praesent et odio. Duis mi odio, consequat ut, euismod sed, commodo vitae, nulla. Suspendisse potenti. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Etiam pede.</p>
<p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas rhoncus accumsan velit. Donec varius magna a est. </p>
</div>
<p class="comment_meta">
By <a href="#">Name</a> on <span class="comment_date">2008-08-21 11:32 AM</span>
</p>
</div>
Tags: html semantic-markup
Source: By GateKiller as answer to the question
This code snippet was collected from stackoverflow, and is licensed under CC BY-SA 2.5
Related code-snippets:
- Why did the width collapse in the percentage width child element in Internet Explorer 7?
- Which timezone is most important?
- Multiple submit buttons in HTML form.
- How can I print an HTML document from a web service?
- How do I know which font has been used in Web page?
- How to break word after special character like Hyphens (-)?
- How do I make a checkbox toggle from clicking on the text label as well?
- How do you disable browser autocomplete on web form field?
- What are some examples of options for HTML scraping?
- What is a wrapper for lists in columns?
- Is there a way to change the height of a div in HTML or CSS?
- How do you set up a CSS switcher to run your website in a browser?
- How do HTML comments break down into parts?
- Regular expression for parsing web pages?
- How can I disable radio buttons?