1.HTML code to create a webpage of your own choice
small coding
Answers
Explanation:
HTML stands for HyperText Markup Language.
It’s a way of displaying information on web pages in your browser.
One thing to remember is that HTML isn’t itself a programming language. It’s a markup language. Programming languages like PHP or Java use things like logic and conditions to control the content.
HTML doesn’t do those things, but it’s still extremely important. It makes up every single website in existence, after all!
Loading an HTML file in your browser
You can actually create an HTML file on your computer, and load it in your browser. It won’t be on the internet, so only your local computer can view it.
For real websites that anyone can access on the internet, the HTML files are stored on computers called servers. But the basic process is pretty similar.
To create your HTML file:
Go to your desktop or wherever you want to put the file.
Then right click and select “New” and “Text Document.” Make sure that the filename reads “index.html” and doesn’t end in “.txt.”
(If for some reason you can’t see the file extension, click on the “View” tab and make sure that the “File name extensions” checkbox is checked.)
When you have your file all set, you’ll want to open it in your browser.
If it has a Chrome or other browser icon on the left, that means you can double click to automatically open it. If it doesn’t, right-click and then select “Open with” and choose your favorite browser.
In the browser, everything will look blank, which is fine because the file doesn’t have anything in it yet.