EduLadder(ELADR) - CRYPTO

This is designed to incentify community members as a proof of contribution token.


Using this You can,Buy courses,Reward others and exchange for real money.


WHITE PAPER COURSES

Real Problems! Real Experts!

Join Our Telegram Channel !


The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we help you to solve your academic and programming questions fast.
In eduladder you can Ask,Answer,Listen,Earn and Download Questions and Question papers.
Watch related videos of your favorite subject.
Connect with students from different parts of the world.
Apply or Post Jobs, Courses ,Internships and Volunteering opportunity. For FREE
See Our team
Wondering how we keep quality?
Got unsolved questions? Ask Questions

HTML-->View question

how to implement html entities to a web page and what all are the attributes are available for html entities?.

How to implement htmlentities to a web page andwhat all are the attributes are available for html entities?.


Asked On2017-05-16 19:23:29 by:Jhon

Taged users:


Likes:
tarun101

Dislikes:
Be first to dislike this question
Talk about this  Like  Dislike
View all questions
Answers

Some characters are reserved in HTML.

If you use the less than (<) or greater than (>) signs in your text, the browser might mix them with tags.

Character entities are used to display reserved characters in HTML.

A character entity looks like this:

&entity_name;

OR

&#entity_number;

Non Breaking Space

A common character entity used in HTML is the non breaking space (&nbsp;).

Remember that browsers will always truncate spaces in HTML pages. If you write 10 spaces in your text, the browser will remove 9 of them. To add real spaces to your text, you can use the &nbsp; character entity.

Some Other Useful HTML Character Entities
ResultDescriptionEntity NameEntity Number
 non-breaking space&nbsp;&#160;
<less than&lt;&#60;
>greater than&gt;&#62;
&ampersand&amp;&#38;
cent&cent;&#162;
pound&pound;&#163;
yen&yen;&#165;
euro&euro;&#8364;
copyright&copy;&#169;
registered trademark&reg;&#174;
Combining Diacritical Marks

A diacritical mark is a "glyph" added to a letter.

Some diacritical marks, like grave (  ̀) and acute (  ́) are called accents.

Diacritical marks can appear both above and below a letter, inside a letter, and between two letters.

Diacritical marks can be used in combination with alphanumeric characters, to produce a character that is not present in the character set (encoding) used in the page.

Here are some examples:

MarkCharacterConstructResult
  ̀aa&#768;
  ́aa&#769;
̂aa&#770;
  ̃aa&#771;
  ̀OO&#768;
  ́OO&#769;
̂OO&#770;
  ̃OO&#771;












Answerd on:2015-01-03 Answerd By:sachin

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this  Like  Dislike

You might like this video:Watch more here

Watch more videos from this user Here

Learn how to upload a video over here

e’ll be going over 3 things:

  1. what HTML is
  2. some basic HTML syntax,
  3. and how to make a local website on your computer.

Just a note, this post is geared toward complete beginners who have never worked with HTML before.

There won’t be any CSS or JavaScript involved, so keep in mind that this webpage we’ll be making won’t be all that pretty. It’s just focused on showing you HTML and its basic functionality.

Trying to learn HTML and CSS?
I highly recommend the Jon Duckett book, “HTML & CSS” as well as the sequel “JavaScript & jQuery” for beginners. The books are beautifully designed and explain the core topics in an easy-to-understand way. Check them out on Amazon!

What is HTML?

Now, what is HTML? HTML stands for HyperText Markup Language.

It’s a way of displaying information on web pages in your browser.

One thing to remember is that HTML isn’t itself a programming language. It’s a markup language. Programming languages like PHP or Java use things like logic and conditions to control the content.

HTML doesn’t do those things, but it’s still extremely important. It makes up every single website in existence, after all!

Loading an HTML file in your browser

You can actually create an HTML file on your computer, and load it in your browser. It won’t be on the internet, so only your local computer can view it.

For real websites that anyone can access on the internet, the HTML files are stored on computers called servers. But the basic process is pretty similar.

To create your HTML file:

  1. Go to your desktop or wherever you want to put the file.
  2. Then right click and select “New” and “Text Document.” Make sure that the filename reads “index.html” and doesn’t end in “.txt.”
    (If for some reason you can’t see the file extension, click on the “View” tab and make sure that the “File name extensions” checkbox is checked.)
  3. When you have your file all set, you’ll want to open it in your browser.
  4. If it has a Chrome or other browser icon on the left, that means you can double click to automatically open it. If it doesn’t, right-click and then select “Open with” and choose your favorite browser.
  5. In the browser, everything will look blank, which is fine because the file doesn’t have anything in it yet.

Editing the file

Now that you have your file set up, you’re ready to start coding!

To edit your HTML file you’ll want to open it in a code editor. Right click the file, and either select “Open with” and the editor, or some editors will have a quick link from the menu.

I’m using Visual Studio Code, but you can use other programs like:

Now that you have the index file open in both your browser and your editor, we’ll start writing some code!

HTML Tags

Let’s look at some of the basic features of HTML.

HTML is made up of tags.

Tags are special text that you use to mark up, or distinguish, parts of your web page. Hence the hypertext “markup” language.

These tags tell the browser to display whatever is inside the tag in a specific way.

Here’s one example of a tag in action:

This is my very first website and I’m <b>extremely excited!!!!!</b>

You can see that the words “extremely excited” are in these <b> tags– “b” is for bold.

Now let’s save the file, and reload your browser. The text should look like this:

first-website

All right! You just wrote some HTML. Feel excited yet? 🙂

Anatomy of an HTML tag

Let’s look at the tag again.

The tag before the phrase is called the opening tag — <b>

And the tag after the phrase is the closing tag —  </b>. You can see that the closing tag has a forward slash before the “b.”

Together, these two tags tell the browser to make whatever text is between them bold. And that’s exactly what’s happened.

Now maybe this is obvious, but when the browser loads the HTML, the tags themselves are invisible– they don’t show up on the page.

Pretty cool, eh? One reason I love making websites so much is that it’s almost like magic, being able to make things appear in your browser.

Basic structure of an HTML document

Now, that line of text that we wrote is working because we saved the file as an HTML file that your browser can recognize.

But for real HTML on the internet, we need to add some more tags to the file in order for everything to work properly.

Doctype and HTML tags

The very first tag you need is the doctype tag. It’s not exactly an HTML tag, but it tells the browser that this is an HTML5 document.

Here’s what it looks like: <!DOCTYPE html>

This tag doesn’t require a closing tag because it’s not surrounding any text, it’s just declaring that this is HTML.

Other doctypes that were used in the past are HTML 4 or XHTML. But right now HTML 5 is really the only doctype used.

After the doctype, you have an HTML tag. This one tells the web browser that everything inside it is HTML:

<!DOCTYPE html>
<html>
 
</html>

I know, it seems a bit redundant since you already used the HTML doctype tag. But this tag ensures that everything inside it will inherit some necessary characteristics of HTML.


Answerd on:2019-06-19 Answerd By:avi738

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this  Like  Dislike

You might like this video:Watch more here

Watch more videos from this user Here

Learn how to upload a video over here



Lets together make the web is a better place

We made eduladder by keeping the ideology of building a supermarket of all the educational material available under one roof. We are doing it with the help of individual contributors like you, interns and employees. So the resources you are looking for can be easily available and accessible also with the freedom of remix reuse and reshare our content under the terms of creative commons license with attribution required close.

You can also contribute to our vision of "Helping student to pass any exams" with these.
Answer a question: You can answer the questions not yet answered in eduladder.How to answer a question
Career: Work or do your internship with us.Work with us
Create a video: You can teach anything and everything each video should be less than five minutes should cover the idea less than five min.How to upload a video on eduladder