Tutorial by Topics: html

HTML (Hypertext Markup Language) is an XML-compliant system of annotating documents with 'tags'. It is used specifically to create content for web pages and web applications, which can then be shared over a network. Apart from text, the current version of HTML supports many different types of me...
The anti-forgery token can be used to help protect your application against cross-site request forgery. To use this feature, call the AntiForgeryToken method from a form and add the ValidateAntiForgeryTokenAttribute attribute to the action method that you want to protect. Generates a hidden form fi...
HTML helpers are methods used to render HTML elements in a view. They are part of the System.Web.Mvc.HtmlHelper namespace. There are different types of HTML helpers: Standard HTML Helpers: They are used to render normal HTML elements, e.g. Html.TextBox(). Strongly Typed HTML Helpers: These helper...
<script type="text/javascript"> //some code </script> <script type="text/javascript" src="URL"></script> <script type="text/javascript" src="URL" async>//async code</script> AttributeDetailssrcSpecifies t...
CSS provides styles to HTML elements on the page. Inline styling involves usage of the style attribute in tags, and is highly discouraged. Internal stylesheets use the <style> tag and are used to declare rules for directed portions of the page. External stylesheets may be used through a <li...
ParameterDetailboolean outline()Get if outline mode is enabled. Default is false. If enabled, the HTML output methods will consider all tags as block.Document.OutputSettings outline(boolean)Enable or disable HTML outline mode. Jsoup 1.9.2 API
ParameterDetailslinkTextThe text that will be displayed for the link.routeNameThe name of the route to return a virtual path for.
response.sendFile(fileName, options, function (err) {});
The manifest file is a simple text file, which tells the browser what to cache (and what to never cache). The recommended file extension for manifest files is: ".appcache" The manifest file has three sections: CACHE MANIFEST - Files listed under this header will be cached after they ...
As with web development, it's good to provide some reset CSS to the emails. As when building a web page, adding a CSS reset to an email helps to normalize how the code gets rendered across multiple email clients (since each has it's own default styles and way of interpreting code).
Html helpers are a very useful way of creating html elements in views using MVC framework. With a bit of time your team can really benefit from using them. It helps with keeping the code clean and error prone. To use the helpers you need to first add a @using directive inside the view, or add ...

Page 1 of 2