How to Get HostName in C#/CSharp

To get host name of the local computer, we make use of GetHostName() method which resides in Dns class.  Dns class is part of System.Net space.  Example is given below. using System; using System.Net; namespace Hello_World { class Program { static void Main(string args) { string hostname = Dns.GetHostName(); Console.WriteLine(hostname); } } }

Page Header Class in Bootstrap 3

In Bootstrap, while creating header section, we make use of page-header class.  However, it is not necessary to use and will not make any huge difference in appearance apart from a thin grayish horizontal line at the bottom which represents separation from body of the page.  But point to remember here is that you can

Headings in HTML5 with Example

In HTML5, there are 6 levels of headings.  Headings are nothing more than a big bold text which mainly used to represent topic of the article.  Example is given below of all 6 levels of headings. <html> <head> <title>HTML5 Tutorials for Beginners </title> </head> <body> <h1>Heading 1</h1> <h2>Heading 2</h2> <h3>Heading 3</h3> <h4>Heading 4</h4> <h5>Heading 5</h5>