HTML & CSS Codes for Beginners
Welcome to this article for what is HTML ? What is HTML ? Why using HTML? HTML Kya hota Hai ? HTML Codes Example, HTML Kya Hai.
Here HTML is Hyper Text Markup Language this is web structure language, HTML defines the web structure and create the website structure.
Hello friends, in this article I am discussing the some HTML codes, which are useful for you or any person and programmer.
The code will be very simple and run in very less time interval, here all codes is running on the all platform like – One Compiler, W3 School and your own system or PC without any internet through a notepad and web Browser, and some other platforms are available on the internet.
Write a HTML Basic Structure Code.
<HTML>
<HEAD>
<TITILE>Title of The Web Page<TITLE>
</HEAD>
<BODY>
Display on the web page.
</BODY>
<HTML>
Here Output is :-
Here this is Basic Structure of HTML, which code is not for use because this code is show the HTML Structure only. This code is only for use. This HTML code is based on the HTML basic code structure.
Write a HTML Code for printing the Hello World using Paragraph Tag.
<HTML>
<HEAD>
<TITILE>Demo<TITLE>
</HEAD>
<BODY>
<p>Hello World</p>
</BODY>
<HTML>
Here Output is :-
Hello World
Here this code is use for printing the Hello World using paragraph tag <p>, this is tag used only the any text display in web browser.
Write a HTML Code for printing the Hello World using Heading Tags <h1> to <h6>.
<HTML>
<HEAD>
<TITILE>Demo<TITLE>
</HEAD>
<BODY>
<h1>Hello World</h1>
<h2>Hello World</h2>
<h3>Hello World</h3>
<h4>Hello World</h4>
<h5>Hello World</h5>
<h6>Hello World</h6>
</BODY>
<HTML>
Here Output is :-
Here this code is use for printing the Hello World using <H1> to <H6> Heading tag this is tag used only the any text display in web browser in bold and large font size.
Write a HTML Code for printing the Hello World using <h1> tag with Red Color.
<HTML>
<HEAD>
<TITILE>Demo<TITLE>
</HEAD>
<BODY>
<h1> <font color=”red”> Hello World </font> </h1>
</BODY>
<HTML>
Here Output is :-
Hello World
Here this code is use for printing the Hello World using <H1> Heading tag this tag used only the any text display in web browser in bold and large font size, and here we are also used inside the <h1> tag is <font> tag and used the color attribute in <font> tag for coloring the text is red.
Write a HTML Code for printing the Hello World.
<HTML>
<HEAD>
<TITILE>Demo<TITLE>
</HEAD>
<BODY>
<MARQUEE> Hello World </MARQUEE>
</BODY>
<HTML>
Here Output is :-
Hello World
Here this code is use for printing the Hello World using <marquee> tag. This tag use the moving the text in display the web browser. Like- In TV or Social Media platforms News channels are using this technique for display the breaking news.
Write a HTML Code for printing the Hello World.
<HTML>
<HEAD>
<TITILE>Demo<TITLE>
</HEAD>
<BODY>
<TABLE BORDER=”1”>
<TR>
<TH>Name</TH>
<TH>DOB</TH>
<TH>Mo. No</TH>
</TR>
<TR>
<TD>Ram</TD>
<TD>10/12/2000</TD>
<TD>xxxxxx1234</TD>
</TR>
<TR>
<TD>Surendra</TD>
<TD>03/10/1998</TD>
<TD>xxxxxx4321</TD>
</TR>
</TABLE>
</BODY>
<HTML>
Here Output is :-
Here this code is use for printing the data using Table tag, and we are using the inside the TR tag for the creating Table Row, and we using the TH tag for creating the Table Heding in the Table, and we are also using the TD tag for printing the data which called Table Data.
Here we are using one Table tag, Two TR tags, Three TH tags, and we are also use the Three TD tags in the above given HTML Code.