How-to Articles – HTML Questions in C# Examples
Welcome to the “How-to Articles” chapter. The articles in this chapter answer popular questions about how to work with HTML files. In addition, the articles contain C# examples that provide the necessary information about using the Aspose.HTML class library to solve specific tasks.
This section is in progress and currently, the following topics are available:
How to change text color? In this article, you will learn how to change color for text in paragraph, headers, etc. using Aspose.HTML class library.
How to change background color? In this article, you will explore how to change background color for text in paragraphs, headers, or entire pages using Aspose.HTML class library.
How to change border color? This article gives you information and C# examples on how to add or change border color for your text in HTML file. Here you learn different ways to make your HTML texts look good.
How to use CSS Selector – QuerySelector() and QuerySelectorAll() In this article, discover how to effectively apply selectors to select the elements you want to style. QuerySelector() and QuerySelectorAll() are methods that are used to query DOM elements that match a CSS selector. You can select elements by class, id or name, or any complex CSS selector.
How to use XPath Query in HTML – Evaluate() method This article introduces how to use Evaluate() method to navigate through an HTML document and select nodes by various criteria. You will learn, with C# examples, how to select all Nodes with specified Name using XPath query.
How To Use XPath To Select XML Nodes You will learn how to navigate through an XML document and select nodes using XPath. The article considers a С# example of selecting the required information from an XML file using XPath queries.
How to Set Font Folder In this article, you will learn how to set font folder for HTML to PDF/Image rendering using Aspose.HTML for .NET library. You get a step-by-step guide on setting a custom font folder and using it to access the necessary fonts, thus allowing you to create professional-looking documents.
How to Serialize Input Value This article describes how to serialize input values in HTML forms or input fields using the Aspose.HTML for .NET library.
Aspose.HTML offers free HTML Web Applications that are an online collection of converters, mergers, SEO tools, HTML code generators, URL tools, and more. The applications work on any operating system with a web browser and do not require any additional software installation. It’s a fast and easy way to efficiently and effectively solve your HTML-related tasks.