I have a question about Semantic.

Asked 1 years ago, Updated 1 years ago, 115 views

Hello, everyone This is what Mr. Yamoo answered in a question about the form the other day.

"In semantic foam design (reading: semi-formative) way," You must configure the form to be read as a flow of text content when the user reads it.

From that point of view, paragraph elements can be used to handle the flow as a bundle of sentences. But the division is more of a meaningless bunch. (It doesn't take into account the flow of meaningful writing).)

That's why the W3C wraps the foam control around the shorting element. ^

^

Still, does it have to be a paragraph? If you ask, I can tell you otherwise. Covering it with division doesn't mean it doesn't comply with standards. It's different if it's more semantic.

You can use tables inside the form, you can use paragraphs, you can use divisions. "

""

From this content, "In semantic foam design (reading: semi-formative) way," You must configure the form to be read as a flow of text content when the user reads it."

Is there any content in the w3c spec that corresponds to what you said? https://www.w3.org/TR/html52/grouping-content.html#the-p-element I looked it up but I couldn't find it because of my short English skills. Is there a place where the part you mentioned above is written separately? Or did you realize it through long training?

In the past, I thought it was standard === semantic, but while listening to Yamoo's lecture, I'm trying to think semantically when I realize that I'm wrong, but it's too hard to approach.

front html semantic

2022-09-22 16:58

1 Answers

There was this phrase in the Form specification many years ago.

Any form starts with a form element, inside which are placed the controls. Most controls are represented by the input element, which by default provides a one-line text field. To label a control, the label element is used; the label text and the control itself go inside the label element. Each part of a form is considered a paragraph, and is typically separated from other parts using p elements. Putting this together, here is how one might ask for the customer's name:

...

Currently, the wording on w3.org has been changed as follows.

Any form starts with a form element, inside which are placed the controls. Most controls are represented by the input element, which by default provides a one-line text field. To label a control, the label element is used; the label text and the control itself go inside the label element. Each area within a form is typically represented using a div element. Putting this together, here is how one might ask for the customer’s name:

...

Semantic web development is close to standard but not correct,

It would be good to use it according to your convenience. Try to be as casual as possibleK

Source: Stack overflow & https://www.w3.org/TR/html5/forms.html#the-form-element


2022-09-22 16:58

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.