<!DOCTYPE html>
<html>
  <head>
    <title>Hello, World!</title>
  </head>
  <body>
      <h1 class="title">My first web page </h1>
     <b>Welcome to the world of html</b><br>
     Ecommerce is a method of buying and selling goods and services online.
     The definition of ecommerce business can also include tactics like 
     affiliate marketing. You can use ecommerce channels such as your own 
     website, an established selling website like Amazon, or social media 
     to drive online sales.<p>
     <b>Some examples for e-commerce are: <br></b>
     <li>uber</li>
     1. Reduced overhead costs
Running an e-commerce store is a lot more cost-effective than running a physical store. You don’t have to rent commercial real estate — instead, you can pay an affordable fee for web hosting. You don’t have to invest in security for your commercial property, plus you don’t have to worry about paying rent for a warehouse or hiring employees. With an e-commerce store, typical costs include your domain name, your web hosting, and the cost of building your website, as well as your inventory. That being said, most e-commerce websites spend some money on marketing as well.

2. No need for a physical storefront
There are so many difficult aspects to running a physical storefront and using e-commerce means you don’t have to face most of those obstacles. Renting a commercial property can be expensive, especially if you’re in a big city. You also have to pay for electricity, water, and internet to ensure your space is up to code and can handle your business. There’s also security to consider; if you want your physical storefront to be secure, you’ll need to invest in cameras and other surveillance equipment. With an e-commerce store, you can simply build your website and start selling your products online without worrying about setting up a physical storefront and spending as much money.

3. Ability to reach a broader audience
Perhaps the biggest advantage of e-commerce is the fact that it allows you to reach a massive audience. Your physical storefront can only get so many visitors in a day, especially if you live in a smaller town or a rural area. With an e-commerce store, you can reach potential customers all throughout the world and show them your products. Even if you’re not selling your products overseas, you can still reach shoppers all the way across the United States to boost your sales. This expanded reach has even allowed a handful of smaller e-commerce stores to become massive brands over time.

4. Scalability
Of the advantages and disadvantages of a business using e-commerce, scalability is one of the most practical advantages for long-term growth. If you have a physical storefront, your business can only grow so much before you have to move to a larger storefront. You also have to move inventory and equipment from one location to another, which makes it even harder to scale your store with the growth of your business. With e-commerce, your website and store can grow as your business does, and you don’t have to spend a fortune moving to a new physical space.

5. Track logistics
Keeping track of logistics is an essential part of e-commerce and retail marketing, and it’s significantly easier with e-commerce than it is with a physical storefront. You can outsource fulfillment logistics so your customers can enjoy benefits like 2-day shipping and easy returns processing. You also have an electronic record of everything, which makes it easy to track sales and look for trends that help you grow your business over time.
     
  </body>
</html> 

HTML Online Editor & Compiler

Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML. You can also specify the stylesheet information in styles.css tab and scripts information in scripts.js tab and start coding.

About HTML

HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.

Syntax help

Fundamentals

  • Any HTML document must start with document declaration <!DOCTYPE html>
  • HTML documents begin with <html> and ends with </html>
  • Headings are defined with <h1> to <h6> where <h1> is the highest important heading and <h6> is the least important sub-heading.
  • Paragraphs are defined in <p>..</p> tag.
  • Links are defined in <a> tag.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    
  • Images are defined in <img> tag, where src attribute consists of image name.
  • Buttons are defined in <button>..</button> tag
  • Lists are defined in <ul> for unordered/bullet list and <ol> for ordered/number list, and the list items are defined in <li>.

HTML Elements and Attributes

  • HTML element is everything present from start tag to end tag.
  • The text present between start and end tag is called HTML element content.
  • Anything can be a tagname but it's preferred to put the meaningful title to the content present as tag name.
  • Do not forget the end tag.
  • Elements with no content are called empty elements.
  • Elements can have attributes which provides additional information about the element.
  • In the below example, href is an attribute and a is the tag name.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    

CSS

CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.

Example:

Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.

body{
  padding: 25px;
}
.title {
	color: #228B22;
	font-family: Candara;
}

HTML Tables

  • HTML Tables are defined in <table> tag.
  • Table row should be defined in <tr> tag
  • Table header should be defined in <th> tag
  • Table data should be defined in <td> tag
  • Table caption should be defined in <caption> tag

HTML-Javascript

  • Javascript is used in HTML pages to make them more interactive.
  • <script> is the tag used to write scripts in HTML
  • You can either reference a external script or write script code in this tag.

Example

<script src="script.js"></script>