C# HTML Articles

HTML

HTML is perhaps the most important document format in the world, despite its flaws. The .NET framework has the tools necessary for basic and advanced manipulation and creation of HTML, using regular expressions, StringBuilder, and strings. Here we see articles specific to HTML and its usage in the C# language.

Manipulating HTML

First, these articles demonstrate various aspects of how you can manipulate, generate, or remove HTML markup using the C# language. You can also encode entities in HTML.

See Encode HTML String.

See HtmlTextWriter Use.

See HttpUtility.HtmlEncode Methods.

See Paragraph HTML Regex.

See Remove HTML Tags.

See Title From HTML.

Scraping HTML

In programming, the term scraping means to download web pages and then scan the text and take parts into another application. You can use the C# language to scrape HTML links from web pages. This can be used to gather information from third-party sources. Please don't do anything illegal.

See Scraping HTML Links.

Validating HTML

A lot of HTML is invalid. You can detect invalid HTML using the C# language; these two articles provide a simple and a more complex algorithm for doing this.

See HTML Brackets.

See Validate XHTML.

HTML tutorials

There are several articles here that focus on writing HTML and JavaScript directly. You can get an introduction to AJAX programming; the CSS3 gradient syntax; and also how to make web apps for the Apple iPhone or iPod touch.

See GET and POST Requests in AJAX.

See Gradient Tips.

See iPhone Web App Example Code.

HTML colors

Many different named colors are available in the hypertext markup language. These can also be specified directly inside CSS files. In this article, I print out all the HTML colors using the C# language.

See HTML Color Names.

© 2007-2010 Sam Allen. All rights reserved.

Dot Net Perls  Sam Allen