Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: html semantics (base issue) #212

Open
2 of 4 tasks
Ubugeeei opened this issue Jan 3, 2024 · 1 comment
Open
2 of 4 tasks

fix: html semantics (base issue) #212

Ubugeeei opened this issue Jan 3, 2024 · 1 comment

Comments

@Ubugeeei
Copy link
Owner

Ubugeeei commented Jan 3, 2024

馃幆 Aim

  • Correctly write the HTML in the sample code
    • To prevent learners from picking up incorrect HTML

Todo

@Ubugeeei Ubugeeei changed the title fix: semantic html (base issue) fix: html semantics (base issue) Jan 3, 2024
@yamanoku
Copy link
Contributor

yamanoku commented Jan 3, 2024

<label> element associated with <input> element.

https://github.com/yamanoku/chibivue/blob/3cad13aa2c6ab7a7f543bafc6451fdc6376e0e8a/book/impls/10_minimum_example/070_sfc_compiler2/examples/playground/src/App.vue#L34

<label>
  Input Data
  <input @input="handleInput" />
</label>


<label for="example">Input Data</label>
<input id="example" type="text" @input="handleInput">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants