TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vijay mani
NA
7
3.8k
Html code readablity
Jan 24 2015 4:08 AM
How do I format the html source code (I have my html code in string format) for readability using C#?
I have to give alignment and spacing using code (indent for all child html elements) as similar to Visual studio.
My input:"<html><head></head
><body><div><div>sample</
div></div></body></html>"
Output should be:"
<html>
<head></head>
<body>
<div>
<div>
sample
</div>
</div>
</body>
</html>"
Reply
Answers (
2
)
Unable to cast object of type 'System.Threading.Tasks.Task`1
Working calendar control in my app