Javatpoint Logo
Javatpoint Logo

HTML Code for Website


It is challenging to create a responsive webpage for those who don't know about CSS. We cannot make a webpage attractive without using the CSS property. So we have a proper knowledge of HTML and CSS before making any website. In this article, we are going to learn about how to create a webpage.

Creating Structure

In this portion, we are going to create the basic structure of the webpage by using the <li> and <section> tags. And also, we have to run this basic HTML code in order to get the output.


CSS Design

With the help of CSS, we can provide a better appearance to the webpage. The most difficult part is to set the image in different parts of the webpage.

CSS Code:

Final Code

After performing all the modifications and combining the HTML and CSS code in one code, the final code becomes:



HTML Code for Website


In the above code, we have created a website with the help of HTML and CSS. The final output of the above code is shown in the output section.

Next TopicHTML CSS

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA