Posts

Showing posts with the label Basic html

Meta Tag In HTML

Image
In HTML, <meta> tags are used to provide metadata about an HTML document. Metadata is data about data, which means it gives information about the HTML document itself rather than the content displayed on the page. <meta>tags are typically placed inside the < head > tag of an HTML document and do not have a closing tag because they are self closing tags. Commonly Used of <meta> Tags and Their Purposes: Character Encoding : Specifies the character encoding used for the document. UTF-8 is the most widely used encoding, supporting a vast range of characters from various languages and scripts. Viewport : In this section, we will define the properties of the viewport or displayed area. This is crucial for responsive and visually appealing web page design. It also ensures that the display appears consistently across different devices. Attributes of Viewport in Meta Tag. Shrink to fit  Viewport to fit Height Width...

Introduction to HTML and its Structure

Image
Full Form of HTML is Hypertext Markup Language. HTML is used to create web pages and web applications. HTML is not a case sensitive language. HTML is not a Programing language, It is a Markup language. In HTML ,the content of webpage or web application are defined by the Elements or Tags(together with their properties). To Make an Attractive or a User-Friendly Web page and Web Application ,HTML uses Cascading Style Sheets(CSS). To Make an Interactive or a Responsive Web page and Web Application ,HTML uses special Scripting language such as JavaScript. To Save a HTML file we have to use the extension i.e. ".html".  Syntax : <filename><dot>.html Example :- myfile.html Basic Structure of an HTML Document A typical HTML document consists of the following basic structure: Explanation of HTML Document HTML Tag : This is the main tag that encloses all the content of the web page and web application. Head Tag...