{"id":675,"date":"2007-10-20T18:29:50","date_gmt":"2007-10-20T23:29:50","guid":{"rendered":"http:\/\/teamtutorials.com\/web-development-tutorials\/html-hello-world"},"modified":"2007-10-20T18:29:50","modified_gmt":"2007-10-20T23:29:50","slug":"html-hello-world","status":"publish","type":"post","link":"https:\/\/teamtutorials.com\/web-development-tutorials\/html-hello-world","title":{"rendered":"HTML Hello World"},"content":{"rendered":"
This is the first HTML tutorial so I figured what better than the standard \u201cHello World\u201d. If you are new to HTML I will tell you a little bit about it. HTML stands for Hyper Text Markup Language and is a way to display and format items in your web browser. HTML is a very simple language to learn and you can have a lot of fun with it. Later I plan to add more advanced HTML\/XHTML and CSS tutorials for you to check out.<\/p>\n
The best thing about HTML is that you don\u2019t need any special tools to begin coding. There is software available that will make your coding easy by adding color coding to you code for example. Really all you need is a text editor (like Notepad in Windows) and a web browser (Firefox, Opera, or I.E. if you must). Just write the code in notepad and save the file with a .html or .htm extension, then double click it to view it in your browsers.<\/p>\n
When you write HTML you use tags which basically tell the browser how to handle each item. Every tag has an open and most have a closing tag in HTML. Every tag must be closed in XHTML, but we will get into the difference later.<\/p>\n
To create our first page we will start with an opening html tag.<\/p>\n
\r\n<\/code><\/pre>\nI will go ahead and close the tag now so that I don\u2019t forget to do it later.<\/p>\n
\r\n\r\n<\/html>\r\n<\/code><\/pre>\nHTML pages generally have two sections: The Header and The Body. The header section will contain information that will not be displayed in the page (such as style sheets, title information, meta tags, etc.). The body section contains all content that the user will see.<\/p>\n
Now we can add the opening and closing tags for the head section.<\/p>\n
\r\n\r\n\r\n\r\n<\/head>\r\n\r\n<\/html>\r\n<\/code><\/pre>\nIn the head section we will add the page title. This is what is display on the top bar of your browser window.<\/p>\n
\r\n\r\n\r\nHello World!<\/title>\r\n<\/head>\r\n\r\n<\/html>\r\n<\/code><\/pre>\nNext to add the body tags. This is where the content that the user will see goes.<\/p>\n
\r\n\r\n\r\nHello World!<\/title>\r\n<\/head>\r\n\r\n Please note, this is a STATIC archive of website teamtutorials.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
\r\n\r\n<\/body>\r\n\r\n<\/html>\r\n<\/code><\/pre>\nNow we can add elements to the page. First we will add a big heading. With the heading tag you have several different sizes, each on smaller than the previous. H1 is the largest, followed by H2, and H3. Will add the largest one, h1.<\/p>\n
\r\n\r\n\r\nHello World!<\/title>\r\n<\/head>\r\n\r\n Please note, this is a STATIC archive of website teamtutorials.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
\r\nMy first page1<\/h1>\r\n\r\n<\/body>\r\n\r\n<\/html>\r\n<\/code><\/pre>\n
Next we will add a paragraph that tells you a little bit about this page. You could just write the text into the page and it would display, but you are really supposed to you P tags for each paragraph.<\/p>\n
\r\n\r\n\r\nHello World!<\/title>\r\n<\/head>\r\n\r\n Please note, this is a STATIC archive of website teamtutorials.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
\r\nMy first page1<\/h1>\r\n
This is my first HTML Page. I wrote this myself using notepad. Sweet!<\/p>\r\n<\/body>\r\n\r\n<\/html>\r\n<\/code><\/pre>\n
There you have it. Your first HTML page. When you are done save the file with a .html extension and view it in your browser. If you are saving this on a web server and you want this to be the main page to your site, you will call it index.htm or index.html. Otherwise you can name it whatever you want. You should get something like this.
\n<\/p>\n","protected":false},"excerpt":{"rendered":"
This is the first HTML tutorial so I figured what better than the standard \u201cHello World\u201d. If you are new to HTML I will tell you a little bit about it. HTML stands for Hyper Text Markup Language and is a way to display and format items in your web browser. HTML is a very … Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[30,17],"tags":[],"yoast_head":"\nHTML Hello World<\/title>\n\n\n\n\n\t\n\t\n\t\n