Introduction of HTML

HTML stands for HyperText Markup Language. It’s used to design web runners using a luxury language. HTML is a combination of Hypertext and Markup language. Hypertext defines the link between web runners. A luxury language is used to define the textbook document within the label which defines the structure of web runners. This language is used to annotate( make notes for the computer) textbooks so that a machine can understand them and manipulate textbooks consequently. utmost luxury languages(e.g. HTML) are mortal- readable. The language uses markers to define what manipulation has to be done in the textbook.

HTML
HTML

Introduction To The Internet

The Internet( or Internet)( a) is a global system of connected computer networks that uses the Internet protocol suite( TCP/ IP)( b) to communicate between networks and bias. It’s a network of networks that consists of private, public, academic, business, and government networks of original to global compass, linked by a broad array of electronic, wireless, and optic networking technologies. The Internet carries a vast range of information coffers and services, similar as the interlinked hypertext documents and operations of the World Wide Web( WWW), electronic correspondence, telephony, and train sharing.

Introduction to HTML Terminology

HTML, or Hypertext Markup Language, is a luxury language used to produce web runners. Then are some introductory terms related to HTML

  1. Tag.
  2. Attribute.
  3. Element.
  4. Attribute value.
  5. Text content.
  6. HTML document.
  7. Markup.
  8. Element hierarchy.
  9. Nesting.
  10. DOCTYPE declaration.

Steps To Design Webpage

I can guide you on how to design a webpage while using HTML. there are the basic steps to create a webpage.

  1. Plan your webpage.
  2. Create a new HTML file.
  3. Set up the basic structure.
  4. Create the head section.
  5. Add a title.
  6. Create the body section.
  7. Add content to the body.
  8. Save your HTML file.
  9. Preview your webpage.

Design Considerations and Planning

Design considerations and planning are important steps in any project, as they ensure that the end result is functional, visually appealing, and meets the needs of the users. Here are some key factors to consider when designing and planning a project:

  1. Purpose and Goals.
  2. User Needs.
  3. Functionality.
  4. Aesthetics.
  5. Scalability.
  6. Technology.
  7. Timeline.

 Document Structure

HTML( Hypertext Markup Language) is the standard luxury language for creating web runners. The introductory structure of an HTML document consists of the following markers

  1. <!DOCTYPE html>.
  2. <html>.
  3. <head>.
  4. <title>.
  5. <body>.
  6. <header>.
  7. <nav>.
  8. <section>.
  9. <article>.
  10. <footer>.

HTML Tags

HTML markers are like keywords define that how web cybersurfer will format and display the content. With the help of markers, a web cybersurfer can distinguish between HTML content and simple content. HTML markers contain three main corridor opening labels, content and ending labels. But some HTML markers are unstopped markers.

Head Tags

The head tags are an essential part of the HTML document structure. It’s located within the HTML document’s head section and is responsible for defining the document’s metadata. Metadata includes information similar to the title, keywords, and description, which are used by hunt machines to understand the content of the document.

Title Tags

A title label is an HTML element that specifies the title of a web runner. A runner’s title label is displayed as part of the hunt grain in a hunt machine results runner( SERP). It appears as the clickable caption for the hunt result and is important for stoner experience, SEO, and social sharing. The title label of a web runner is meant to be an accurate and terse description of a runner’s content.

Body Tags

Body tags are a set of HTML tags used to define the main content of a web page. They are enclosed within the tags and represent the visible content of the web page that users see in their browsers. The body tags can contain various types of content such as text, images, links, videos, and other multimedia elements.

Metadata

Metadata is data that provides info about other data. It can include a wide range of information, such as the date and time that a file was created or last modified, the author of a document, the title of a book, the genre of a movie, or the location of a photograph. Metadata can be used for a variety of purposes, such as organizing and searching for files, identifying the source and quality of data, and ensuring that data is properly used and protected. Examples of metadata standards include Dublin Core, EXIF, IPTC, and ID3.

Saving an HTML Page

To save an HTML page, follow these steps:

  1. Open the HTML page in your web browser.
  2. Once the page is fully loaded, go to the File menu or click the three dots in the top right corner of the browser window.
  3. Click on the windows key and ‘s’.
  4. Choose the path location on your computer where you want to save the file.
  5. Rename the file if you wish.
  6. Select the format as “Webpage, HTML only” or “Webpage, complete” depending on whether you want to save just the HTML code or the entire page including images and other resources.
  7. Click “Save” to save the HTML file to your computer.

Page Formatting

Page formatting is the layout of the runner when it’s published on a printer. It includes runner size, runner exposure, runner perimeters, heads and footer etc Runner formatting is defined in the pagesetup dialog box. The length and the range of a page of a document is called runner size.

Adding a New Paragraph

The <p> tag is used to produce paragraphs on Web Runner. It has a ending tag <p> which is voluntary because a paragraph automatically ends when we start another Paragraph.

Adding a Line Break

the line break is represented by a specific character or tag. In HTML, for example, you can use the “<br>” tag to create a line break.

Inserting Blank Space

To fit a blank space, you can simply press the spacebar on your keyboard. Each time you press the spacebar, a single blank space will be fitted . You can also use the Tab key to fit a larger space, or multiple spaces at formerly.

still, which prevents the textbook from being separated at that point if it falls at the end of a line, you can use the keyboard roadway” Ctrl Shift Space” on Windows or” Option Space” on Mac, If you need to fit anon-breaking space.

Preformatted Text

Preformatted text is text that has been formatted to preserve its original spacing and line breaks. It is often used for displaying code or other types of text that need to maintain their exact formatting.

To format text as preformatted, you can use the HTML tag, which tells the browser to display the text as-is, without any additional formatting. You can also use markdown syntax by placing the text between two sets of triple backticks (“`).

Changing a Page’s Background Color

To change a runner’s background color, you can use Cascading Style wastes( CSS), a style distance language used for describing the donation of a document written in HTML. Then are the way to change the background color of a runner

  • Open your HTML train in a textbook editor or an Integrated Development Environment( IDE).
  • In the head section of your HTML document, add a style label to include CSS styles for your runner.

Div Element

In HTML, the <Div> element is a vessel that’s used to group other HTML rudiments together and apply styles or scripts to them inclusively. The <div> label is an empty label that doesn’t bear a ending label.

Text Items

Text items refer to any piece of written or typed language that can be processed and analyzed by a computer system. This can include anything from individual words and phrases to entire documents and books.

Objects

Text items refer to any piece of written or typed language that can be processed and analyzed by a computer system. This can include anything from individual words and phrases to entire documents and books.

Headings

HTML headings are defined with the to tags.

<h1>defines the most important heading. <h6> defines the least important heading.

Example

  • <h1>Heading 1</h1>
  • <h2>Heading 2</h2>
  • <h3>Heading 3</h3>
  • <h4>Heading 4</h4>
  • <h5>Heading 5</h5>
  • <h6>Heading 6</h6>

Comments

The comment label is used to fit commentary in the source law. commentary aren’t displayed in the cybersurfers.

You can use commentary to explain your law, which can help you when you edit the source law at a after date. This is especially useful if you have a lot of law.

Example

<!– This is a comment. Comments are not displayed in the browser –>

<p>This is a paragraph.</p>

Block Quotes

The<blockquote> tag in HTML is used to display the long citations( a section that’s quoted from another source). It changes the alignment to make it unique from others. It contains both opening and ending markers. In blockquote label, we can use rudiments like heading, list, paragraph etc.

Horizontal Lines

The Vertical Rule label ( <hr> ) is used for the purpose of fitting vertical lines in the HTML document in order to separate sections of the document. It’s an empty or unmatched label that means there’s no need for the ending label.

Syntax:


<hr attribute="value"> 

Special Characters

This page contains a list of HTML special characters. In HTML, special characters are generally those that can not be fluently compartmented into a keyboard or may beget display issues if compartmented or pasted into a web runner.

still, you should use either the HTML reality name or the HTML reality number, If you plan to use any of the special characters on this runner. This will insure that it displays rightly in utmost all cybersurfers.

For illustration, if you want to display a brand symbol” ©”, you should use either © or © in your code.

Creating Lists

In HTML, you can produce lists using the <ul>, <ol> and <li> tags.

Numbered (Ordered) Lists

The <ol> tag is used to create an ordered list, which means the items in the list are in a specific order. Here’s an example:

<ol>
  <li>Makequery</li>
  <li>Makequery/li>
  <li>Makequery</li>
</ol>

Bulleted (Unordered) Lists

The <ul> tag is used to create an unordered list, which means the items in the list are not in any particular order. Here’s an example:

<ul>
  <li> Makequery 1</li>
  <li> Makequery 2</li>
  <li> Makequery 3</li>
</ul>

Nested Lists

you can create nested lists by placing one list inside another. Nested lists are useful when you want to organize your content into categories or subtopics.

To create a nested list, you can use the <ul> and <li> tags for an unordered list or the <ol> and <li> tags for an ordered list. Here is an example of a nested list using unordered lists:

<ul>
  <li> Makequery </li>
  <li> Notes
    <ul>
      <li>html </li>
      <li>css</li>
    </ul>
  </li>
  <li>Home</li>
</ul>

Definition Lists

Definition lists in HTML are used to group a term or a phrase with its definition or description. They are typically used to display a glossary or a list of key terms and their meanings.

A definition list consists of one or more terms, each followed by one or more definitions. The terms are enclosed in <dt> tags, and the definitions are enclosed in <dd> tags. Here is an example of a simple definition list:

Links

Links in HTML are used to create clickable elements that direct users to other web pages or resources. The most common tag used to create a link in HTML is the <a> tag, which stands for “anchor”.

What are Links

The <link> tag defines the relationship between the current document and an external resource.

The <link> tag is most constantly used to link to external style wastes or to add a favicon to your website.

Text Links

Text links are clickable words or phrases within a piece of text that redirect the user to another web page or resource. They are commonly used in online content such as articles, blog posts, and web pages to provide additional information or to direct the reader to related content. Text links are typically underlined and appear in a different color than the surrounding text to make them stand out. They are an important part of search engine optimization (SEO) and can improve the user experience by making it easier for users to navigate a website and find relevant content.

Image Links

Creating an HTML image link is easy. To produce an image link, you combine an label( i.e. link) with an label( i.e. image). You simply” wrap” the link law around the image law.

<img src ="images.jpg" alt="img link tag">

Opening a Page in a New Window or Tab

To open a web page in a new window or tab, you can follow these steps:

  1. Right-click on the link or button that you want to open in a new window or tab.
  2. From the menu that appears, elect” Open link in new window” or” Open link in new tab”.
  3. If you’re using a Mac, you can also hold down the Command key and click on the link or button to open it in a new window or tab.
  4. Alternatively, you can use your browser’s keyboard shortcuts to open a new window or tab. For example, in Google Chrome, you can press Ctrl+N (Windows) or Command+N (Mac) to open a new window, or Ctrl+T (Windows) or Command+T (Mac) to open a new tab.
  5. You can also click on the three dots in the top right corner of your browser window to access the menu, and then select “New window” or “New tab”.

Linking to an Area on the Same Page (Bookmarks)

To create a link to an area on the same page, you can use bookmarks. Here are the steps to follow:

  1. Identify the area on the page where you want to create a link to.
  2. Add an ID attribute to the element that contains the area you want to link to. For example, if you want to link to a section with the heading “My Section”, you could add the ID attribute to the <h2> element: <h2 id=”my-makequery”> Makequery </h2>
  3. Create a link that points to the ID of the element. To do this, you need to add a “#” symbol followed by the ID to the href attribute of the element. For example: <a href=”make query “>Link to makequery</a>

Linking to an E-mail Address

To link to an email address in HTML, you can use the mailto: protocol followed by the email address you want to link to. Here’s an example code snippet:

<a href="Makequery@gmail.com">Email me</a>

Linking to Other Types of Files

Linking to other types of lines can be done in different ways depending on the purpose and the platform you’re using. Then are some common ways to link to different train types.

  1. Linking to PDF files.
  2. Linking to image files.
  3. Linking to audio or video files.
  4. Linking to documents.
  5. Linking to executable files.

Adding Images to Webpages

Adding images to web pages can help enhance the visual appeal and engagement of your content. Here are the steps to add images to your webpage:

  1. Choose an image.
  2. Optimize the image.
  3. Upload the image.
  4. Insert the image into your webpage.
<img src="image.jpg" alt="image">

Resizing an Image

You can resize an image in HTML using the width and height attributes of the tag. Here’s an example:

<img src="makequery.jpg" width="500" height="300">

Alternative (ALT) Text

Alternative text ( alt text) is descriptive textbook which conveys the meaning and environment of a visual item in a digital setting, similar as on an app or web runner.

Image Labels

To add labels to images in HTML, you can use the “alt” attribute of the “img” tag. The “alt” attribute specifies alternative text for an image, which can be read by screen readers and is also displayed if the image cannot be loaded. Here’s an example:

Tables-Inserting a Table

To insert a table in HTML, you can use the element and its associated tags. Here’s an example of how to create a basic table with two rows and two columns:

<table>
  <tr>
    <th>makequery</th>
    <th>Home </th>
  </tr>
  <tr>
    <td>Row 1, Column 1</td>
    <td>Row 1, Column 2</td>
  </tr>
  <tr>
    <td>Row 2, Column 1</td>
    <td>Row 2, Column 2</td>
  </tr>
</table>

Table Border

To add a border to an HTML table, you can use the” border” trait in the” table” label. Then’s an illustration

<table border="1">
  <tr>
    <td>Cell 1</td>
    <td>Cell 2</td>
  </tr>
  <tr>
    <td>Cell 3</td>
    <td>Cell 4</td>
  </tr>
</table>

Table Headers

table headers are defined using the <th> element. The <th> element is used to define a header cell in an HTML table. The header cells are typically used to label the content of the table columns or rows.

<table>
  <tr>
    <th>Home </th>
    <th>Note </th>
    <th>GEt Started</th>
  </tr>
  <tr>
    <td>Row 1, Column 1</td>
    <td>Row 1, Column 2</td>
    <td>Row 1, Column 3</td>
  </tr>
  <tr>
    <td>Row 2, Column 1</td>
    <td>Row 2, Column 2</td>
    <td>Row 2, Column 3</td>
  </tr>
</table>

Col and Row Span

he colspan and rowspan attributes are used to specify how many columns or rows a cell in a table should span.

Col Span

The colspan attribute is used to specify how many columns a cell should span horizontally. For example, if you want a cell to span across two columns, you would set the colspan attribute to “2”.

Here’s an example of how to use colspan:

<table>
  <tr>
    <td colspan="2">This cell spans two columns</td>
    <td>Regular cell</td>
  </tr>
</table>

Row span

The rowspan attribute is used to specify how many rows a cell should span vertically. For example, if you want a cell to span across three rows, you would set the rowspan attribute to “3”.

Here’s an example of how to use rowspan:

<table>
  <tr>
    <td rowspan="3">This cell spans three rows</td>
    <td>Regular cell</td>
    <td>Regular cell</td>
  </tr>
</table>

I frame

An iframe (short for inline frame) is an HTML element that allows you to embed one HTML document within another HTML document. It essentially creates a window into another web page, which can be displayed within the current page.

The syntax for creating an iframe is as follows:

<iframe src="URL"></iframe>

What is an I-frame

An iframe( short for” inline frame”) is an HTML element that allows you to bed another HTML document within the current web runner. It basically creates a window within the web runner that displays the contents of another web runner or document.

Using an iframe, you can display content from a different website, similar as a videotape or a chart, without having to deflect the stoner to that website. The content displayed in the iframe is fully independent of the main web runner and can be resized or nominated independently.

Inserting Iframes

an iframe (short for inline frame) is used to embed another HTML document or web page within the current HTML document. To insert an iframe in HTML, you can use the following syntax:

<iframe src="URL of the web page to be embedded" 
        width="desired width in pixels" 
        height="desired height in pixels">
  Your browser does not support iframes.
</iframe>

Setting Height and Width

To set the height and range of an HTML element, you can use the height and width attributes. These attributes can be applied to colorful HTML rudiments, including images, vids, iframes, and more.

Then is an illustration of how to set the height and range of an image

<img src="example.jpg" alt="Example Image" width="500" height="300">

In this illustration, the width trait is set to 500 pixels and the height trait is set to 300 pixels. You can acclimate these values to fit your specific requirements.

still, similar as a div, you can use CSS rather If you want to set the height and range of a vessel element.

<div style="width: 500px; height: 300px;"></div>

Using an Iframe for a link target

An iframe is an HTML element that allows you to bed another HTML document within the current document. When you use an iframe to link to another runner or website, the content from the linked runner will be displayed within the iframe on your runner.

Using an iframe for a link target can be useful in certain situations, similar as when you want to bed a videotape or a chart from another website into your own runner. still, it’s important to keep in mind that using iframes can also have some downsides, similar as slower runner lading times, security enterprises, and implicit comity issues with some cybersurfers.

To use an iframe for a link target, you can simply set the target trait of your link to the name of your iframe, like this

<a href="https://example.com" target="myframe">Link</a>

<iframe name="myframe"></iframe>

About Forms

An HTML Form is a section of the document that collects input from the stoner. The input from the stoner is generally transferred to a garçon( Web waiters, Mail guests, etc). We use the HTML element to produce forms in HTML.

<form>
    <label for="firstname">First name: </label>
    <input type="text" name="firstname"  required>
    <br>
    <label for="lastname">Last name: </label>
    <input type="text" name="lastname"  required>
    <br>
    <label for="email">email: </label>
    <input type="email" name="email"  required>
    <br>
    <label for="password">password: </label>
    <input type="password" name="password"  required>
    <br>
    <input type="submit" value="Login!">
</form>

Text Boxes

Text boxes are graphical elements used in documents, presentations, and other digital media to enclose and highlight text. They are typically rectangular or square in shape and can be customized with various colors, borders, fonts, and other design features.

Text boxes are commonly used to add captions or labels to images, to emphasize key points or quotes in a document, to create callouts or sidebars for additional information, and to organize content into sections or modules.

Text Areas

In HTML, a text area is a form control that allows users to input large amounts of text. The text area is represented by the element.

Here’s an example of how to create a text area in HTML:

<label for="message">Enter your message:</label>
<textarea id="message" name="message"></textarea>

Check Boxes

Checkboxes in HTML are used to allow users to select one or more options from a list. Checkboxes are a type of input element that enables users to toggle between two states, checked and unchecked.

To create a checkbox in HTML, you can use the input tag with the type attribute set to “checkbox”. Here’s an example:

<input type="checkbox" id="myCheckbox" name="myCheckbox" value="myValue">
<label for="myCheckbox">My Checkbox</label>

In HTML, you can create a menu list using the “ul” and “li” elements. Here’s an example:

<ul>
  <li>Home</li>
  <li>About Us</li>
  <li>Contact Us</li>
</ul>

Radio Buttons

Radio buttons are a type of input field in HTML that allows users to select one option from a group of predefined options. The selected option is then submitted as part of a form.

To create a radio button, you need to use the element with the type=”radio” attribute. You also need to specify a unique name attribute for each group of radio buttons, and a value attribute for each individual radio button within that group. Here is an example:

<form>
  <p>Makequery.com are tech programming?</p>
  <label>
    <input type="radio" name="color" value="red">
    Red
  </label>
  <br>
  <label>
    <input type="radio" name="color" value="blue">
    Blue
  </label>
  <br>
  <label>
    <input type="radio" name="color" value="green">
    Green
  </label>
  <br>
  <input type="submit" value="Submit">
</form>

The Submit Button

the submit button is used in forms to allow users to submit their input to a server for processing. When a user clicks on the submit button, the data entered in the form fields is sent to the server via an HTTP request.

The Reset Button

In HTML, there is no specific “reset button” element, but you can create one using the or element with the type=”reset” attribute.

Here is an example of how to create a reset button using the element:

<button type="reset">Reset</button>

Changing The Tab Order

the tab order of the elements on a webpage determines the order in which a user can navigate through them using the “Tab” key on their keyboard. By default, the tab order follows the order in which the elements appear in the HTML code. However, you can change the tab order by using the tabindex attribute.

The tabindex attribute is used to specify the order in which elements should be focused when the user navigates through them using the “Tab” key. The value of the tabindex attribute determines the order, with elements having lower values being focused first.

Event Handling

Event handling is the process of responding to actions or occurrences that take place in a program, typically triggered by user input or system events. It involves creating code that can detect when a specific event has occurred and then executing an appropriate response or action.