Back to articles
Use HTML to specify website contents

Use HTML to specify website contents

via Dev.to WebdevDana Ordalina (Khadijah)

HTML is the language used to create the structure of a web page. It tells the browser what should appear on the page and where it should be placed. For example, HTML shows where the heading is, where the text goes, where images appear, and where links or buttons are located. You can think of HTML as the skeleton of a website. It builds the basic structure of the page. When we create a website , we use HTML because web browsers understand HTML and use it to display the content of the page to users. For example: <h1> My Website </h1> <p> Welcome to my website! </p> In this example, h1 creates a heading and p creates a paragraph of text. The browser reads this code and shows it on the web page. In simple words, HTML is the language that organizes and structures the content of a website. <!DOCTYPE html> <html> <head> <title> Title of the document </title> </head> <body> The content of the document...... </body> </html> This is a basic structure of an HTML document. Every web page usually s

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles