Posts

Showing posts from June, 2020

Attributes in HTML

HTML Attributes All HTML elements can have  attributes Attributes provide  additional information  about elements Attributes are always specified in  the start tag Attributes usually come in name/value pairs like:  name="value" The href(Hypertext Reference) Attribute The  <a>  tag defines a hyperlink. The  href  attribute specifies the URL of the page the link goes to: Input:- <html> <body> <h2>The href Attribute</h2> <p>HTML links are defined with the a tag. The link address is specified in the href attribute:</p> <a href=" https://newcodingtypes.blogspot.com/ ">Visit New Coding Times Blog</a> </body> </html> Output:- The href Attribute HTML links are defined with a tag. The link address is specified in the href attribute: Visit   New Coding Times Blog HOME

Applications of HTML

Applications  of  HTML   are as follow: Web pages development   - HTML is used to create pages which are rendered over the web. Almost every page of web is having html tags in it to render its details in browser. I nternet Navigation   - HTML provides tags which are used to navigate from one page to another and is heavily used in internet navigation. Responsive UI   - HTML pages works well on all platform, mobile, tabs, desktop or laptops owing to responsive design strategy. Offline support   -  HTML pages once loaded can be made available offline on the machine without any need of internet. Game development   - HTML 5 has native support for rich experience and is now useful in the gaming development arena as well.                                               ...

Lists in HTML

In HTML there are 6 types of lists. The types of list are as follow. Types of List li(List)   =       Define a   List items ol(Ordered List) =     Define an Ordered List dl(Description List)   =   Define a description list ul(Unordered List)   =   Define an Unordered List dd(Description Describe)   =   Describes the term in a description list dt(Description Term)   =   Define a term in a description list Home

HTML Ordered List

Ordered HTML List An unordered list starts with the <ol> tag.  Each list item starts with the <li> tag. The list items will be marked with numbers by default: Input:- <html> <body>         <h3>An Ordered HTML list</h3> <ol>         <li>MILK</li>         <li>Tea</li>         <li>COFFEE</li> </ol>   </body> </html> Output:- An ordered HTML list MILK Tea COFFEE HOME / BACK

HTML Unordered List

Unordered HTML List An unordered list starts with the <ul> tag.  Each list item starts with the <li> tag. The list items will be marked with bullets (small black circles) by default: Input:- <html> <body>           <h3>An unordered HTML list</h3> <ul>           <li>MILK</li>           <li>Tea</li>           <li>COFFEE</li> </ul>   </body> </html> Output:- An unordered HTML list MILK Tea COFFEE HOME / BACK

HTML Description Lists & Terms

HTML Description Lists A description list is a list of terms, with a description of each term. The  <dl>  tag defines the description list  The  <dt>  tag defines the term (name)  The  <dd>  tag describes each term: Input:- <html> <body>           <h3>The Description List</h3> <dl>           <dt>Coffee</dt>                  <dd>- Black Coffee</dd>                  <dd>- Expresso Coffee</dd>             <dt>Tea</dt>                  <dd>- Green Tea</dd>                  <dd>- Black Tea</dd> </dl> </body> </html> Output:- Th...

Final example of all HTML elements & tags

Different Tags & Elements like bold, italic, underline, h1(biggest heading), paragraph, mark, superscript, subscript is written below: Input:- <html> <body> <p>This is normal text</p> <p><b><i><u><h1>This is the text with<mark><q>Multiple Tags & Elements</q></mark> <sup>Superscript </sup>&<sub>subscript</sub> </b></i></u></h1> </p> </body> </html> Output:- This is the text with Multiple Tags & Elements Superscript & subscript HOME / BACK

Double Quotation words in HTML (“”)

In HTML   <q>   element  tag defines a short quotation Input:- <html> <body> <p>This is normal text</p> <p>This is the text with <q>Quotation Mark</q></p> </body> </html> Output:- This is normal text This is the text with  Quotation Mark HOME / BACK

Highlighted text in HTML

In HTML   <mark>   element tag defines Highlighted texts. Input:- <html> <body> <p>This is my <mark>1st Blog</mark></p> </body> </html> Output:- This is my  1st Blog HOME / BACK

Superscript in HTML

In  HTML   <sup>   element tags defines Superscripted texts. Superscript text appears half a character above the normal texts and is sometimes rendered in a smaller font. Superscript text can be used for footnotes, like  WWW [1] Input:- <html> <body> <p>This is normal text</p> <p>This is<sup> superscripted</sup>text </p> </body> </html> Output:- This is normal text This is superscripted text HOME / BACK

Subscript in HTML

In  HTML  <sub>  element tags defines Subscripted texts. Subscript text appears half a character below the normal line and is sometimes rendered in a smaller font. Subscript text can be used for chemical formulas, like H 2 O,  H 2 SO 4 . Input:- <html> <body> <p>This is normal text</p> <p>This is<sub> subscripted</sub>text </p> </body> </html> Output:- This is normal text. This is  subscripted  text. HOME / BACK

Underline text in HTML

In  HTML  <u>  element tags defines Underline texts. Input:- <html> <body> <p>This text is normal.</p> <p><u>This text was underline.</u></p> </body> </html> Output:- This text is normal. This text was underlined. HOME / BACK

Italics letters in HTML

In  HTML  <i>  element tag defines a part of a text in an alternate voice or mood. The content inside is typically displayed in italic. Input:- <html> <body> <p>This text is normal.</p> <p><i>This text is italic.</i></p> </body> </html> Output:- This text is normal. This text is italic. HOME / BACK

Bold letters in HTML

In  HTML <b> element tag defines bold text. Input:- <html> <body> <p>This text is normal.</p> <p><b>This text is bold.</b></p> </body> </html> Output:- This text is normal. This text is bold. HOME / BACK

Basic of HTML Tags & Element

The HTML document itself begins with <html> and ends with </html> . The title of the page will be written in <head> and ends with </head> . The visible part of the HTML document is between <body> and </body> . Input:- <html> <head>MY 1st Blog please share & subscribe</head> <body> <p><b>Hello Friends</b></p> </body> </html> Output:- MY 1st Blog please share & subscribe Hello Friends HOME / BACK

Elements & Tags of HTML with Examples

What is the difference between elements & tags? "An  element is a set of opening and closing tags  in use" & "Tags are labels which you will use to mark up the beginning and end of an element" . All tags have the same format: they begin with a less-than sign "<" and end with a greater-than sign ">". ... The only  difference between an opening tag and a closing tag  is the forward-slash "/". The examples of the ELEMENTS & TAGS are as follow:- Basic of HTML Tags & Elements Heading Size in HTML Paragraph in HTML Bold letters in HTML Italic letters in HTML Underline text in HTML Subscript in HTML Superscript in HTML Highlighted text in HTML Double Quotation words in HTML (“”) Final example of all HTML elements & tags                                                         ...

Paragraph in HTML

In  HTML  <p>  element tag defines a paragraph. A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph. Input:- <html> <body> <p>This is 1st paragraph.</p> <p>This is 2nd paragraph.</p> <p>This is 3rd paragraph.</p> </body> </html> Output:- This is a paragraph. This is a paragraph. This is a paragraph. HOME / BACK

Heading Size in HTML

In  HTML <h1> to <h6> element   tags define the Heading size. Input:- <html> <body> <h1>Heading 1</h1>               //Biggest heading element of HTML// <h2>Heading 2</h2> <h3>Heading 3</h3> <h4>Heading 4</h4> <h5>Heading 5</h5> <h6>Heading 6</h6>             //Smallest heading element of HTML// </body> </html>                         Output:-     Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Heading 6 HOME / BACK

Key-Features of HTML

HTML   was  easy to understand for everyone. I will list down some of the key Feature to learning HTML: It is easy to learn and easy to use. It is platform-independent. Images, video, and audio can be added to a web page. Hypertext can be added to the text. It is a markup language. It is a simple markup language. Its implementation is easy. It is used to create a website. Helps in developing fundamentals about web programming. Helps to Boost in a professional career.                                                                                                                                  ...

Definition of HTML

Image
In 1980 , Physicist  Tim Berners-Lee , a contractor at CERN, proposed and prototyped  ENQUIRE , a system for CERN researchers to use and share documents. In 1989,  Berners-Lee  wrote a memo proposing an Internet-based hypertext system.  Berners-Lee  specified HTML and wrote the browser and server software in late 1990 Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript and VbScript. HTML stands for HyperText Markup Language HTML is the standard markup language for creating Web pages HTML describes the structure of a Web page HTML consists of a series of elements HTML elements tell the browser how to display the content                                       ...

Applications of C Programming

C was initially used for system development work , particularly the programs that make-up the operating system. C was adopted as a system development language because it produces code that runs nearly as fast as the code written in assembly language. Some examples of the use of C are - Operating Systems Language Compilers Assemblers Text Editors Print Spoolers Network Drivers Modern Programs Databases Language Interpreters Utilities HOME

Key-Feature of C Language

C Language  is a very easy back-end  programming language. It was easy to understand for everyone. I will list down some of the key advantages of learning C Programming: Simple - C is a simple language in the sense that it provides a structured approach (to break the problem into parts), the rich set of library functions, data types, etc. Machine Independent or Portable -Unlike assembly language, c programs can be executed on different machines with some machine-specific changes. Therefore, C is a machine-independent language. Mid-level programming language -Although, C is intended to do low-level programming. It is used to develop system applications such as the kernel, driver, etc. It also supports the features of a high-level language. That is why it is known as mid-level language. Structured programming language -C is a structured programming language in the sense that we can break the program into parts using functions. So, it is easy to understand and modify. Functions ...

Key-Feature of JAVA

Java is a very easy back-end programming language. It was easy to understand for everyone. I will list down some of the key advantages of learning Java Programming: Object-Oriented  − In Java, everything is an Object. Java can be easily extended since it is based on the Object model. Platform Independent  − Unlike many other programming languages including C and C++, when Java is compiled, it is not compiled into a platform-specific machine, rather into platform independent byte code. This byte code is distributed over the web and interpreted by the Virtual Machine (JVM) on whichever platform it is being run on. Simple  − Java is designed to be easy to learn. If you understand the basic concept of OOP Java, it would be easy to master. Secure  − With Java's secure feature it enables to develop virus-free, tamper-free systems. Authentication techniques are based on public-key encryption. Architecture-neutral  − Java compiler generates an architecture-neutral...

INDEX

Welcome to my blog The Proper Index of my codes & content are shown in this link. Click this link to redirect on the Index page

Definition of JAVA

Image
Java was originally developed by  James Gosling  at Sun Microsystem s (which has since been acquired by Oracle) and released in 1995 as a core component of Sun Microsystems' Java platform. "Java is a general-purpose programming language" that is class-based, object-oriented, and designed to have as few implementation dependencies as possible. It is intended to let application developers write once, run anywhere, meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled to byte-code that can run on any Java virtual machine regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but it has fewer low-level facilities than either of them. As of 2019, Java was one of the most popular programming languages in use according to GitHub, particularly for client-server web applications, with a reported 9 million developers.      ...

Definition of C Language

Image
"C programming" is a general-purpose, procedural, imperative computer programming language developed in 1972 by Ken Thompson and Dennis Ritchie at the Bell Telephone Laboratories to develop the UNIX operating system. C is the most widely used computer language. It keeps fluctuating at the number one scale of popularity along with Java programming language, which is also equally popular and most widely used among modern software programmers. C is available for many different types of computers. This is why C is called a "portable language" . A program that is written in C and that respects certain limitations can be compiled for many different platforms.                                                                                    ...