tags in html code example

Example 1: html tags

HTML Elements are what make up HTML in general.
This is a list of the main Html element tags. 
(There are more not included in this list.)
<!DOCTYPE> 	Defines the document type
<html> Defines the root of an HTML document </html>
<title>	Defines a title for the document </title>
<header> Defines a header for a document or section </header>
<main> Specifies the main content of a document </main>
<footer> Defines a footer for a document or section </footer>
<p>	Defines a paragraph </p>
<a>	Defines a hyperlink </a>
<b> Defines bold text </b>
<br> Defines a single line break </br>
<button> Defines a clickable button </button>
<div> Defines a section in a document </div>
<footer> Defines a footer for a document or section </footer>
<h1> to <h6> Defines HTML headings </h1> to </h6>
<img> Defines an image </img>
<ol> Defines an ordered list </ol>
<ul> Defines an unordered list </ul>
<li> Defines a list item  </li>
<script> Defines a client-side script </script>
<span> Defines a section in a document</span>
<table>	Defines a table </table>
<td> Defines a cell in a table</td>
<th> Defines a header cell in a table </th>
<tr> Defines a row in a table </tr>

Example 2: what does the html tags mean in html

<!DOCTYPE html>
<html>
  <!-- your code here -->
</html>


<!-- html tag is a non-self closing tag in html, it represents the beginning
     and end of your entire code.All the other tags, elements, attributes,etc.
     comes between html tags.

     The HTML <doctype> tag is used to tell the browser which version of
     HTML the document is using. It has no end tag (self-closing tag).
	 For HTML5 version we write <!DOCTYPE html>.
-->

Example 3: html tags

HTML Elements are what make up HTML in general.
This is a list of the main Html element tags. 
(There are more not included in this list.)
This is the edited version of upper post i have tried to add more tags
<!DOCTYPE> 	Defines the document type
<html> Defines the root of an HTML document </html>
<title>	Defines a title for the document </title>
<header> Defines a header for a document or section </header>
<main> Specifies the main content of a document </main>
<footer> Defines a footer for a document or section </footer>
<p>	Defines a paragraph </p>
<a>	Defines a hyperlink </a>
<b> Defines bold text </b>
<br> Defines a single line break </br>
<button> Defines a clickable button </button>
<div> Defines a section in a document </div>
<footer> Defines a footer for a document or section </footer>
<h1> to <h6> Defines HTML headings </h1> to </h6>
<img> Defines an image </img>
<ol> Defines an ordered list </ol>
<ul> Defines an unordered list </ul>
<li> Defines a list item  </li>
<script> Defines a client-side script </script>
<span> Defines a section in a document</span>
<table>	Defines a table </table>
<td> Defines a cell in a table</td>
<th> Defines a header cell in a table </th>
<tr> Defines a row in a table </tr>
(<meta>//Meta tags are used for adding seo.
e.g
<meta name="keywords" content="your,keywords,here">
<meta name="description" content="you page/website description here">
when u add google seo and then if someone searches something
which matches withthe contenthe content of keywords which you write
and the description which shows there will be the description which is writted there.
<meta>)
<link>//link tag is basicaly used to attach css files to the html
e.g
<link rel="stylesheet" type="text/css" href="yourplace/your.css">
<script>script tag is used for adding javascript to your website
  it can be by writting the whole java script into it or attach other ones
  </script>
 e.g
<script href="yourlocation/javascript.js"></script>
or
<script type="text/js">
alert("i am a good boy");
</script>

Example 4: what is html element

Html is a markup kanguage based on XML. It uses nested <objects>
These objects are defined by the standards body W3C 
they are usually used in pairs ... <thing> </thing>
A .html file has a bunch of these tags
information to be displayed goes between the start and end  tags
 <p> This text is now a paragraph</p>
 Elements can have unique identifiers used by javascript and CSS
 <p id="fruit"> Apple Orange Banana </p>
 Elements can be styled by belonging to a class of Elements
  <p class="redThings"> This text will be colored red if "redThings" says so

Example 5: how to use tags

--------------------------------------------------------------------

What is your tag strategy in Cucumber?
	- I create different testing suites 
      using different tags.
	- We can use multiple tags in the same
      feature file to have the same feature file
      be part of different testing suites as well.

	- for ex:

	Feature #1:
		@Smoke @Regression @abc

- We use the "and - or - and not" keywords
  to include or exclude specific tags from test runtime.

Example 6: html basic tags

<head></head>
<body></body>
<title></title>
<h1></h1><h6></h6>
<p></p>
<ol><li></li></ol>
<ul><li></li></ul>
<img src="" alt="">
<a href=""></a>
<!-- Comment -->

Tags:

Html Example