What is HTML example?
What is HTML example?
Hypertext Markup Language (HTML) is the most common language used to create documents on the World Wide Web. HTML uses hundreds of different tags to define a layout for web pages. Most tags require an opening <tag> and a closing </tag>. support@yourcompany.com</a>.
Here's an example I pulled from W3schools, which I recommend looking at if you want to learn HTML or know more about it:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
"Hypertext" refers to the hyperlinks that an HTML page may contain. "Markup language" refers to the way tags are used to define the page layout and elements within the page. Below is an example of HTML used to define a basic webpage with a title and a single paragraph of text.
HTML is a Language, as it has code-words and syntax like any other language.
Example:
<html>
<head>
<title>Href Attribute Example</title>
</head>
<body>
<h1>Href Attribute Example</h1>
<p>
<a href="https://www.freecodecamp.org/contribute/">The freeCodeCamp Contribution Page</a> shows you how and where you can contribute to freeCodeCamp's community and growth.
</p>
</h1>
</body>
</html>
First html document is start with <!doctype>.
There is 4 to 5 basic tags are <html>, <head>, <body>, <div>, <br /> etc.
<!doctype>
<html>
<head>
<link/>
<title></title>
</head>
<body>
<p>in body tag there is logic or what you want to display that comes here.
</body>
</html>
There is a link tag in header tag to include external css and in header tag you can add your script.
Hope it helps.
Thanks!
TuxAndrew
Linux - RedHat,cPANEL CentOS,Ubuntu,Azure/AWS Administrator,
Assistance, Analysis and Diagnosis. Skype: tuxandrew
tuxandrew@aol.com
Html is world's simplest language because it's the base of programming.
Flipboard | Pearltrees | Pocket | Instapaper | Google SEO | Plerb | Tucsonazplumber.com | Yoomark.com
HTML stands for Hypertext Markup Language. It allows the user to create and structure sections, paragraphs, headings, links, and blockquotes for web pages and applications. ... For example, we can create a paragraph by placing the enclosed text within a starting <p> and closing </p> tag.
|
Bookmarks