Coding Tag

Start Learning the Technical and non-technical skill online with Coding tag . Coding tag is Successful online preparation with HTML,CSS JAVA,SQL and more.

HTML Image Tag || Coding Tag — June 8, 2020

HTML Image Tag || Coding Tag

Images are very important to make a page beautiful and more informative . This tutorial will take you through simple steps to use images in your web pages.

This tag is an empty tag that includes attributes only, There is no need for any closing tag for html image tag.

Insert Image

You can insert any image in your web page by using <img> tag. Following is the simple syntax to use.

Example:

<!DOCTYPE html>
<html>
   <head>
      <title>Using Image in Webpage</title>
   </head>
   <body>
      <p>Simple Image Insert</p>
      <img src = "/images/codingtag.png" alt = "Image text" />
   </body>
</html>

Image Width/Height

The heights and the widths are custom ,means you can change them how we can be. You can specify width and height of the image in terms of either pixels or percentage of its actual size,

<!DOCTYPE html>
<html>
   <head>
      <title>Set Image Width and Height</title>
   </head>
   <body>
      <p>Setting image width and height</p>
      <img src = "/images/codingtag.png" alt = "Image text" width = "150" height = "100"/>
   </body>
</html>

Set Image Border

Hey By default, image have a border, and the left work you have is only to specify thickness in terms of pixels using border attribute.

NOTE,

If the thickness is “zero” , no border around the picture

<!DOCTYPE html>
<html>
   <head>
      <title>Set Image Border</title>
   </head>
   <body>
      <p>Setting image Border</p>
      <img src = "/images/codingtag.png" alt = "Image text" border = "3"/>
   </body>
</html>

Set Image Alignment

Image is aligned at the left side of the page by default, but to align the image to another side of the page like right left and center, it needs to use align attribute to set it

Example

<!DOCTYPE html>
<html>
   <head>
      <title>Set Image Alignment</title>
   </head>
   <body>
      <p>Setting image Alignment</p>
      <img src = "/images/codingtag.png" alt = "Image text" border = "3" align = "right"/>
   </body>
</html>

Well done you have done great, Learning small can give you high returns So keep doing your Showcasing practice and learning layout from now. Being a intermediate type all the code above in any editor like notepad and save with an extension (.html), and after the saving part your unique work will be shown by any browser.

You can easily prepare html interview questions and answers from coding tag for by implementing all examples.

HTML Introduction || Coding Tag — June 3, 2020

HTML Introduction || Coding Tag

In this course , we will learn all the latest concepts and all mandatory topics for a beginner through which they can learn HTML online , and run simple to advanced level programs, to be an expert one day.

we will cover step by step topics to guide you to every possible topics in HTML . SO,

Stay tuned with every updated aspect.

Let’s start with the HTML Basics.

HTML stands for Hyper text markup language ,though HTML is not a programming language

HTML is used to create and layout web pages as it comprises of a markup language and a hypertext. The function of any HTML document consists of small markup tags, it starts with a start tag and closes with an end tag.

Example:

<!DOCTYPE HTML>

<html>

<head>

<title> Sample of HTML Format </title>

</head>

<body>

<h1> My First Heading </h1>

<h1> My Second Heading </h1>

<p> My first paragraph. </p>

</body>

</html>


You can open your HTML documents in browser like IE,Opera, Google Chrome, Safari , Firefox-responsibility to read HTML code and show your unique works .

<!DOCTYPE> represents document type and helps browsers to display web pages properly.


<html>

<head>

<title> Welcome Page </title>

</head>

<body>

Hello Friends, This is my welcome page.

</body>

</html>


Now after this small html code document you can start your practice and learning from now . Being a beginner type all the code above in any editor like notepad and save with an extension (.html), and after the saving part your unique work will be shown by any browser.

You can easily prepare for Interview questions answers list of HTML and HTML 5 by implementing all examples.

Top 50 HTML Interview Questions — October 30, 2019

Top 50 HTML Interview Questions

After the study, the toughest stage is how to crack an interview. Going for a job interview makes us feel like we are back in school examination. In an interview, our job is to show our hidden talent and convince a recruiter that we have a required talent.

For this, we have limited time to provide a true representation of our skills, experience, and knowledge to recruiters. To impress a recruiter, we have discussed top HTML interview questions that are listed below:

 

HTML INTERVIEW QUESTIONS AND ANSWERS
HTML INTERVIEW QUESTIONS AND ANSWERS

  1. What is HTML?

HTML is a Hypertext Markup Language used for creating various web pages and web applications layout. This language is not so difficult to learn and understand,

The HTML file must be saved with an extension: 

Xyz.html

Xyz.htm

It consists of some syntax and code words the same as other computer languages. The HTML file must be saved with .html extension. read more about html

  1. Describe the different versions of HTML?

HTML has different versions from beginning to till date like:

  1. 0  (original)
  2. 0  (Web Design Features)
  3. 0
  4. 2  (WILBUR)
  5. 0  (COUGAR)

And the latest version right now is HTML 5

  1. What is a DOCTYPE?

DOCTYPE means Document Type Declarations. It is used to specify the web browsers that which types of documents it will receive. In the HTML program,All HTML documents must start with a < !DOCTYPE >  declaration, It is an information to the browsers about the document type and language.

<!DOCTYPE html>

  1. One of the core concepts in the  Html interview question for freshers is to explain HTML tags?

Till now HTML is on the same core concept of tags as there in original HTML1.0.HTML tags consist of three main elements which are opening tag, content, and a closing tag, in the end. The opening and closing tags are written in the angle brackets like <>.

The opening tag represents the initiation of the start command and the closing tag represents the end of the command, hence it comes with the slash. See the syntax below:

<tag> content </tag>

There are some tags in HTML which don’t need to be close

For example <br> , <hr>…

 

Advanced HTML Interview Questions Answers
2020 ADVANCED HTML INTERVIEW QUESTIONS AND ANSWERS

  1. How many types of HTML tags?

Basically HTML tags are in two types paired and unpaired tag. As discussed above paired tags are those which have both opening and closing tag for example  <p> </p>, <h1> </h1>, <b> </b>, <i> </i>, etc.

Whereas the unpaired tags are <br>,<img>, <hr> ,etc .

The unpaired tags are <br>, <img>, etc.

  1. Name the list tags which are used to design a web page?

List tags are used to design a systematic web page. Here are the list tags :

  • ordered list
  • unordered list
  • definition list
  • menu list
  • directory list

All these tags can be used to compose a web page.

7- How to create a text on a web page that allows sending an email when clicked?

To change the text into a clickable link to send an email, use the mail to command within the <href> tag. The format is as follows:

<a href=”mailto:hello @codingtag.com”>Clickable Text</a>

Read more article: TOP HTML INTERVIEW QUESTIONS  AND ANSWERS IN 2020 

Updates on JavaScript Interview Questions for 2020 — October 22, 2019

Updates on JavaScript Interview Questions for 2020

1-     What is JavaScript?

Javascript is a scripting language, which is everywhere come installed on every modern web browser, It helps to create really beautiful and crazy fast websites, It is also considered as an object-based programming language.

2-     What are the defined Data types in Javascript?

The different types of JavaScript data types are:

  • Boolean: Two possible values (true and false)
  • Number:  Integer, float point.
  • String   :   Double, single quotes, and backticks.
  • Object  :
  • Undefined

3-     Name the company that introduced JavaScript?

A company that proposed JavaScript is “Netscape” which is a software company.

Javascript-Interview-questions
updates javascript interview questions 2020

4-     How to read and write a file in JavaScript?

We can read and write a file in JavaScript by following two methods, they are

  • We can use JavaScript extension
  • file=fopen(getScriptPath(),0); The function fread() can be used for reading file contents
  • file = fopen(“c:\examplefile.txt”, 3); opens the file for writing.
  • str = fread(file,flength(file) ; The function fwrite() can used to write the contents to the file.

Also, read an extensive list of updated top JavaScript Interview Questions for more such answers.

5-    What is negative infinity?

Negativity Infinity is a number in javascript which can be derived by dividing negative number by zero.

6-  How to add new elements dynamically?

<html>

<head>

<title>Add</title>

<script type=”text/javascript”>

function addNode() { var newP = document.createElement(“p”); var textNode = document.createTextNode(” This is a new text node”);

newP.appendChild(textNode); document.getElementById(“firstP”).appendChild(newP); }

</script> </head>

<body> <p id=”firstP”>firstP<p> </body>

</html>

7- What is this keyword in JavaScript ?

There are four rules applies to this in order to know which object is referred by this keyword:

  1. Global Scope
  2. Object Method
  3. Call() or apply() method
  4. Blind() method

Conclusion

Well, I am wrapping up with this. You can read these questions that will surely help you to crack your interview. Get top 30 JavaScript interview questions for more read

Frequently asked CSS Interview Questions — September 23, 2019

Frequently asked CSS Interview Questions

If you are looking for the best CSS Interview Questions, then you can stop your search now. You are at the right place. The coding tag has prepared a list of interview questions that are often asked. This will help you to get your desired job as a developer.

Listed below are the most often asked CSS interview questions:

What are the modules used in the on-going version of CSS?

The modules which are used in the current version of CSS are

Box Model

Animations

2D/3D Transformations

Selectors

Text Effects

User Interface

Multiple Column Layouts

Continue reading

Highlights Of Dynamic Host Configuration Protocol — September 9, 2019

Highlights Of Dynamic Host Configuration Protocol

 

Want to become a Desktop or Network Engineer?

Then cover all troubleshooting criteria of major elements such as Hardware, Operating Systems, Software, Peripheral devices, RAM, ROM, and Motherboard, etc. During your learning period, don’t forget to learn frequently asked Top 50 Desktop Interview Questions including both hardware and network related questions. Among all major concepts in network engineering courses, we are going to discuss Dynamic Host Configuration Protocol, often written as DHCP in some documents. The main objective of this blog is to highlight some points related to DHCP.

Continue reading

Meaning of “SELECT” statement in SQL — September 3, 2019

Meaning of “SELECT” statement in SQL

The “SELECT” statement in SQL is the most used action in a database which is responsible for recovering or fetching up the data from a database. It retrieves the data in a tabular structure which is known as a result-set. The role of the “SELECT” statement in SQL is to direct the query optimizer about the tables to check after, the relation that is to be followed, retrieved data, and the order in which the data is to be implemented.

Continue reading

Design a site like this with WordPress.com
Get started