Computer Science, asked by yashjha55, 1 year ago

what are html documents

Attachments:

Answers

Answered by Madhu7409
1
An HTML document is a file containing Hypertext Markup Language, and its filename most often ends in the .html extension. An HTML documentis a text document read in by a Web browser and then rendered on the screen.HYPER TEXT MARKUP LANGUAGE.

FEATURES-

HEAD
BODY
TAIL.
Answered by nanu1010
0
An HTML document is a file containing hypertext markup language. HTML code is based on tags, or hidden keywords, which provide instructions for formatting the document. A tag starts with an angle bracket and the 'less than' sign: '<'. The tag ends with an angle bracket and the 'greater than' sign '>'. Tags tell the processing program, often the web browser, what to do with the text. For example, to make the word 'Hello' bold, you would use the opening bold tag <b> and then the closing bold tag </b>, like this:

<b>Hello</b>

HTML is defined by the World Wide Web Consortium, an organization that regulates standards for the Internet. Each version of HTML has a set of definitions. Note that HTML is not a programming language. While we often refer to HTML markup as HTML code, programming languages require the processing of logical statements and math. HTML allows the developer to make text documents look engaging and pleasant. In most cases, programming on an HTML document is done with JavaScript.

Types of HTML

The newest version of HTML, which is entering the industry, is HTML 5. HTML can be divided into three categories: transitional, strict, and frameset. These types apply to how HTML is used, not necessarily to the selection of tags.

Transitional

Transitional is the most common type of HTML. It has a flexible syntax, or grammar and spelling component. Over the years, transitional HTML has been used without syntax restrictions, and browsers support a 'best effort' approach to reading the tags. If tags are misspelled, the browsers do not correct web developers' errors, and they display the content anyway. Browsers do not report HTML errors - they simply display what they can. This is the 'best effort' concept.

Strict

The strict type of HTML is meant to return rules into HTML and make it more reliable. For example, the strict type requires closing all tags for all opened tags. This style of HTML is important on phones, where the processing power may be limited. A clean and error-free code helps to load pages faster.

Frameset

Finally, a frameset allows web developers to create a mosaic of HTML documents where multiple documents can be connected into a single screen. This technique is often used to create a menu system. You click on a menu item on the left side of the screen, and only the right side of the screen re-loads. The menu stays in place.

hope this will help you
Similar questions