true

Find the best tutors and institutes for HTML

Find Best HTML Training

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

What is the inline element? And the block element and the difference of the span and p. How could I write p in html and the what are the types of attributes? If we want to display the fist name and last in same line which type of code I want choose? What is the process of creation of radio buttons and lists?

Asked by Last Modified  

IT Courses/HTML

Follow 0
Answer

12 Answers

Please enter your answer

Trainer

1. A block-level element will always starts on a new line and takes up the full width available; for example: The div element is a block-level element. block-level elements. more examples:- div tag h1 - h6 tags p tag form tag 2. An inline element does not start on a new line and only takes up as much... read more
1. A block-level element will always starts on a new line and takes up the full width available; for example: The div element is a block-level element. block-level elements. more examples:- div tag h1 - h6 tags p tag form tag 2. An inline element does not start on a new line and only takes up as much width as necessary. Examples of inline elements: span tag a tag img tag 3. The HTML p element represents a paragraph of text. Paragraphs are usually represented in visual media as blocks of text that are separated from adjacent blocks by vertical blank space and/or first-line indentation. Paragraphs are block-level elements. The attributes used are:- p { display: block; margin-top: 1em; margin-bottom: 1em; margin-left: 0; margin-right: 0; } 4. In html we make use of window form's and inside it we have tag's like INPUT TYPE. it do consists of various types of attributes like for first and last name we can use TEXT, and for radio buttons we can use as attribute RADIO, and we can use this to choose from multiple options like for gender. for example:- TEXT form First name:(break tag) input type="text" name="firstname" (break tag) Last Name:(break tag) input type="text" name="lastname" /form for example:- RADIO BUTTONS form input type="radio" name="gender" value="male" checked (break tag) input type="radio" name="gender" value="female" (break tag) /form read less
Comments

Web Technology

See there are three types to write css in our code:-1)inline 2)internal 3)external inline elements are like you have to write that css in tag directly like p style="color:red"hello.
Comments

Digital Marketing Trainer

Hi Lakshmi Sandhya, If you are photoshop user this answer will make you clear. single row marquee, single column marquee tools are inline elements (which make an object to occupies whole canvas). On other hand rectangle marquee or elliptical marquee are block level elements. Ravindra Reddy, Digital... read more
Hi Lakshmi Sandhya, If you are photoshop user this answer will make you clear. single row marquee, single column marquee tools are inline elements (which make an object to occupies whole canvas). On other hand rectangle marquee or elliptical marquee are block level elements. Ravindra Reddy, Digital marketing and branding Educator. read less
Comments

.Net Developer

- Basically and inline element is nothing but which will occupy the content with where as if it is a block level element which will occupy the complete with of the page. - Span is example for inline and p is the block level.
Comments

UI Designer

Inline element is like taking a particular width for example span. If you try give inline for a span it applies only for that particular span, it wont take entire div or entire line. Where as Block element is takes entire div. The difference between p and span is both we can use for a bunch of lines... read more
Inline element is like taking a particular width for example span. If you try give inline for a span it applies only for that particular span, it wont take entire div or entire line. Where as Block element is takes entire div. The difference between p and span is both we can use for a bunch of lines or content. The styles that you apply will effect the entire content in p but when you have a requirement like in that p one word need to be styled differently for that we use span tag and you can apply styles for that span. To display first name and last name side by side apply style float: left; for the divs. Process of creating Radio Button and Lists: Radio button comes under form element. So in the form take a div and insert the below code input type="radio" so that radio button will be displayed. Coming to Lists they are two types one is Ordered list and another one is Unordered Lists. These can be used for bullent points. And for these both lists you can select the type of bullet point you are looking for. For examples 1, 2, 3 or a, b, c or circle icons, etc. read less
Comments

Adobe Certified Expert

Whenever you write any code within the body tag (CSS) it is called inline element.
Comments

Web Designer And Developer (UI/UX)

1: A block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can). 2: An inline element does not start on a new line and only takes up as much width as necessary. 3: Span First Name span span Last Name span 4: Input type="radio"... read more
1: A block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can). 2: An inline element does not start on a new line and only takes up as much width as necessary. 3: Span First Name span span Last Name span 4: Input type="radio" name="ABC" read less
Comments

Teacher

Inline is another way of expressing attributes, properties for a defined control while you program in design view. Paragraph tag can be used to write set of lines with out worrying about number of lines: Example: p stands for paragraph. You can enclose p in angular braces to start paragraph text.... read more
Inline is another way of expressing attributes, properties for a defined control while you program in design view. Paragraph tag can be used to write set of lines with out worrying about number of lines: Example: p stands for paragraph. You can enclose p in angular braces to start paragraph text. And input a forward slash before the p in closing tag. You can use basic controls in HTML in Visual Studio by dragging tools from tool box on the left side window. Drag any tool from it. It simply shows the basic code to implement the type of control you want. read less
Comments

Expert in Web Design and development

Lakshmi, All questions are very basic and easy to learn. You can take online tutorial help or join classes. 1] inline element - are those elements which takes space as per their contents Ex - a, span, strong etc and Block elements are those elements which takes full width of space. It occupies entire... read more
Lakshmi, All questions are very basic and easy to learn. You can take online tutorial help or join classes. 1] inline element - are those elements which takes space as per their contents Ex - a, span, strong etc and Block elements are those elements which takes full width of space. It occupies entire screen width even though inside contents length are less. Ex - h1 to h6, div, p, ul, li, etc. 2] There are lots of HTML tags and each tag have their own attributes, to learn all these you must join classes or start learning online tutorials. 3] & 4] There are 2 - 3 types people are writing a code, but as per W3C compliance you needs to write a code and that is only the best code. read less
Comments

Trainer

For inline used span tag which make your first name and last name at same line.
Comments

View 10 more Answers

Related Lessons

HTMl tutorial for input type
<html> <body> <form> <input type="tel" id="phone" name="phone" pattern="{10}"required><br> <input type="submit" value="Submit"> </form> </body> </html>
T

Taru Sharma | 19 Jun

0 0
0

CSS Padding
The CSS padding properties are used to generate space around an element's content, inside of any defined borders. With CSS, you have full control over the padding. There are properties for setting the...

Gagan | 02/02/2018

0 0
0

Angular-2 Developer Training Program Syllabus
Angular2 Developer Training Program Syllabus: Introduction to Angular2. Why Angular2. Angular2 Features: Components, Services and Typescript. Angular2 Components: Templates, Modules, Services...

DeCode Classes | 11/12/2017

0 0
0

Recommended Articles

Here are the top 6 must have skills for every Web Designer : Technical Skills Web designers undoubtedly require very strong technical skills. They must have hands on using Web designing software and tools, such as Adobe Dreamweaver, Fireworks, Photoshop, Flash etc. In addition to the knowledge of design...

Read full article >

Since the world today is ruled by the Internet, everyone desires to build a website for either business or personal interests. HTML or Hyper-text Mark-up Language is a globally standardized language which used to format web pages. By using HTML, the appearance of text, links, images and almost every part of a web page could...

Read full article >

Today, no business can exist without having its own website to interact with its customer base. Having a website is no more restricted to the big MNCs. With the advancement in technology and global business, even the small enterprises are spending on having their own websites and development teams. The person works on web...

Read full article >

Applications engineering is a hot trend in the current IT market. An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company s manufacturing, marketing, sales, and customer...

Read full article >

Looking for HTML Training?

Find best HTML Training in your locality on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for HTML Classes?

Find best tutors for HTML Classes by posting a requirement.

  • Post a learning requirement
  • Get customized responses
  • Compare and select the best

Looking for HTML Classes?

Find best HTML Classes in your locality on UrbanPro

Post your learning requirement

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 25 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 6.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more