How Do You Create A Website Using Div Tag?
• Understand the purpose of the div tag. Developing a website is like constructing a virtual world and doing the same by using div tag is no big deal. • Div tags are one of the basic elements of HTML code that help in breaking web pages into various sections. These sections include headers, sidebars, article area and many more. • Div tag, as the name suggests, actually means division tags which represent generic division of content on the web page. These tags provide enormous flexibility in its creation and it’s designing. • It is an intuitive process which involves understanding of HTML and CSS codes and language. • Create an HTML file by using a text editor. Then enclose each section of content inside one set of div tags in the body section. It is important to give each div a unique identity by including “id” attribute in each opening division tag. • Create a style sheet which can be easily done by using CSS code. This will help in providing rules for each division in the web page. S