Volume 3 of “HOW TO LEARN HTML IN A DAY”

Information from A to Z on Programming Success in 2023

In the previous piece, “HOW TO LEARN HTML IN A DAY, VOL. 2,” I walked us through the basics of HTML and its use of tags. In this piece, I’ll describe the functions of the other available tags. Reading the first and second books in this series will be helpful. The previous article glossed over some foundational concepts that I’d want to cover before going on to other HTML tags. Some HTML tags are difficult to distinguish from one another because they look identical. Make sure you know whether to use uppercase or lowercase letters while writing.

EVEN MORE ON HTML TAGS:

Since the nav tag and the div tag are so similar, you can use the nav tag in place of the div tag. A website’s header, where the Home, About, Contact, and Services tabs live, is where the navigation bar sees the most action. In HTML pages, it is used to specify a navigation section that will house the links that will be used to guide the user across the site. It’s a tag with opening and closing brackets. In HTML, it looks like this: nav> /nav>.

HOT POST:  The price of going viral: How creators are jeopardizing their freedom for views and likes

Another tag that’s similar to the div tag is the section tag, which divides its contents in the same way as div tags do. Sections of the document, such as the header, footer, and others, are defined by this tag. Both the browser and the programmer can understand the meaning of this tag because it is a semantic tag. In HTML, it would be represented by the tags section> /section>.

Similar to Microsoft Word’s CTRL + B bold function, the B tag emphasizes the text it is applied to. It’s useful for drawing the attention of those who can view the code’s output. It’s formatted like this: b> /b>.

The emphasis mark (em) tag is used to draw attention to a specific section of text. Nesting the em> tag, an inline element, increases the emphasis to which it is applied. This tag is highlighted more than its neighboring tags.

HOT POST:  IMPORTANCE OF ARTIFICIAL INTELLIGENCE

The Fieldset tag is used to obtain related or group elements within a document, typically a form. When used, this tag delimits the space between related components. Write fieldset> /fieldset> to use this tag.

The form tag is used to make a structured area for input from the user. Text boxes, checkboxes, radio buttons, and more can all be found within this category. User input is sent to the form’s destination URL. All the global attributes detailed in the HTML attribute reference are supported by these tags. The tags to use are form> and /form>.

The input tag is used to specify a field in which the user can type text. The input tag is used inside of a form tag to collect information from the user. Depending on the sort of property, it can take on a number of different forms. It could serve as a signup form or a login hub. The syntax looks like this: input type=”” name=””>. Input types, such as text boxes, checkboxes, and radio buttons, are indicated by the inner type. You may also use a placeholder function within the input type=”text” name=”” placeholder=”Enter your name”> tag to designate a pre-populated field for a user to fill out. The placeholder functions suggest a possible topic for the input. The title “name” was actually a label tag and not an input tag. About which I will talk in a moment.

HOT POST:  WHAT YOU SHOULD KNOW ABOUT WEB DEVELOPMENT KNOWLEDGE AND ITS ADVANTAGES

Label tag: a tag used to label anything, most often input tags; without it, input tags could appear bland due to the lack of a label indicating what should be done within them. Simply type section> /section> to represent this.

The Q tag is used to insert quotation marks into the text where it is used. It can be used in place of having to manually type in quotation marks after entering a code. It’s formatted like this: q> /q>.

 


Leave a Reply

Your email address will not be published. Required fields are marked *